Creating Custom Style
A custom chart style is created in the Style Designer.
To create a chart style, you need:
Open the Style Designer by clicking the corresponding button in the Styles tab of the Chart component editor or on the Home tab of the report designer’s Ribbon panel;
Create a new Chart style by clicking Add Style in the Style Designer and selecting Chart;
Configure the formatting using the style properties.
Information |
Predefined chart styles can't be edited. However, a custom style can be created based on a predefined one and then customized. To do this:
|
Below is a table of properties used to configure the chart style.
Name |
Description |
Axis Labels Color |
Allows setting the color of X-axis and Y-axis labels. |
Axis Line Color |
Allows setting the color of the X-axis and Y-axis lines. |
Axis Title Color |
Allows setting the color of X-axis and Y-axis titles. |
Basic Style Color |
Allows defining the primary color of the chart. This color is used for chart elements that do not have color settings in the style, such as bars. |
Border |
Allows modifying the color, style, type, and size of the Chart component borders, as well as enabling border shadows. |
Brush |
Allows setting the brush type and fill color for the Chart component area. |
Brush Type |
Allows setting the brush type for chart graphic elements. |
Chart Area Border Color |
Allows setting the color of the chart area border. |
Chart Area Brush |
Allows defining the brush type and fill color for the chart area. |
Chart Area Show Shadow |
Allows enabling or disabling chart area shadows. If set to True, shadows will be displayed; if False, they will not. |
Grid Lines Horizontal Color |
Allows setting the color of horizontal grid lines in the chart area. To hide the lines, select a color identical to the background or choose a transparent color. |
Grid Lines Vertical Color |
Allows setting the color of vertical grid lines in the chart area. To hide the lines, select a color identical to the background or choose a transparent color. |
Interlacing Horizontal Brush |
Allows defining the brush type and color for horizontal striping. To disable horizontal striping, set the Horizontal Brush property to None. |
Interlacing Vertical Brush |
Allows defining the brush type and color for vertical striping. To disable vertical striping, set the Vertical Brush property to None. |
Legend Border Color |
Allows setting the legend border color. To remove the border, choose a transparent color. |
Legend Brush |
Allows defining the brush type and fill color for the chart legend. |
Legend Labels Color |
Allows setting the legend labels color. |
Legend Title Color |
Allows setting the legend title color. By default, the legend title is empty (disabled). |
Marker Visible |
Allows enabling or disabling markers on the chart. |
Series Labels Border Color |
Allows setting the border color for series titles or value labels in the chart. |
Series Labels Brush |
Allows defining the brush type and fill color for series titles or value labels in the chart. |
Series Labels Color |
Allows setting the color of series titles or value labels in the chart. |
Labels Line Color |
Allows defining the line color connecting graphic elements to series titles or value labels. |
Series Lighting |
Allows enabling or disabling border highlighting for pie or donut series. If set to True, highlighting is enabled; if False, it is disabled. |
Series Show Shadow |
Allows enabling or disabling shadows for chart series elements. If set to True, shadows are enabled; if False, they are disabled. |
Style Colors |
Allows creating a color collection for the style. These colors are applied sequentially to series elements: the first color is used for the first series, the second for the second series, and so on.
If the Color Each parameter is enabled for series, the colors from the collection will be applied to the graphic elements first. Then, shades for the remaining graphic elements will be generated by lightening these colors. |
Trend Line Color |
Allows setting the trendline color. This property is relevant if a trendline is applied to the chart. |
Trend Line Show Shadow |
Allows enabling or disabling the trendline shadow. If set to True, the shadow will be enabled; if False, it will be disabled. |