How to Adjust the Legend Marker Width in Bold Reports Line Charts
In Bold Reports, legends play a key role in helping users understand chart data by representing each series with a marker and label. In Line Charts, the legend marker typically appears as a small line segment or symbol corresponding to the series.
In some scenarios, the default legend marker width may be too small or not visually distinct. Bold Reports allows you to adjust the legend marker width using the shapewidth custom attributes, improving chart clarity and presentation.
This article explains how to modify the legend marker width for line charts.
Steps to Configure the Custom Property
Step 1: Select the Chart
- Open your report in the Bold Reports Designer and select the Line Chart you want to modify.
Step 2: Add the shapewidth Property
-
In the Properties panel, scroll down to the Miscellaneous section and locate the Custom Attributes option.
-
Click the Set Attribute button to open the Custom Attributes dialog box.
-
Enter the following details:
Custom Property Name:
shapewidth
Custom Property Value:20
- After adding the property, click OK to save the changes.
Step 3: Preview the Report
- Click the Preview button in the top toolbar to view the changes.
- Verify that the legend markers display with the updated width.
Example: shapewidth set to 20
Example:
shapewidth set to 50Download the sample report from here.