How to Make Pre-defined Chart Style?
Pre-defined chart style refers to the styles predefined at Server side and available for all templates so as to display better data analysis. If a certain pre-defined color style is selected, it will be used as the default style of newly created charts.
Note: styles set in the Chart Series of templates are prior to the default style.
2.1 Built-in color matching scheme
2.2 Pre-defined color for new chart
Click Add button in the Pre-defined Chart Color Panel to add new predefined colors. Color matching can be customized in 2 ways, including Precision Setting and Gradient Color as shown below:
Precision Setting: total 32 kinds of color are available in Precision Setting, each of which is precisely selected by the user. Click small blocks of color in the interface, “Select Color” dialog will pop up, in which you can select color as required. All colors displayed in the chart are also horizontally obtained from such 32 kinds of colors in turn. If number of series is more than 32, then these colors will be recycled. In Precision Setting, all color charts are modified in the color chart of default color matching.
Gradient Color: users only need to select start color and end color, and detailed color change may be subject to Series range.
2.3 Setting color matching
We use the Precision Setting by clicking the previous three color blocks to configure different colors as shown below:
2.4 Effect viewing
Open template: %FR_HOME%\WebReport\WEB-INF\reportlets\doc\advanced\Chart\FloatChart.cpt, Click Chart Property – Style > Series to identify that defaults options are selected for color matching and style of the chart in the template as shown below:
Click Page Break Preview to identify that its color matching scheme is the same as default style as shown below:
2.5 Change template style
Click Chart Property – Style > Series, select Custom > Gradient Color for color matching and plane 3D Style as shown below:
Save the template. Click Page Break Preview to view the effect as shown below. Template styles are significantly different from defaults styles, i.e. if in the Style settings of Chart Property, defaults options are selected for color matching and style of Series, then the style selected in the default color matching scheme under Server > Chart will be applied as the style of chart. If default options are not selected, then the color matching scheme and style in Chart Property – Style > Series will be applied in the chart.
If you want to modify color and style of a chart, you can separately configure Series Style in the Attribute Table. To configure color and style of all templates, you can add a default style in the Server > Pre-defined Chart Color as the global style. If the color matching scheme of a chart is separately configured, the global style are disabled.
Note: default styles of chart do not apply to stock chart, dashboard, map and gis map.