Define Colors on a Chart Using a Palette (Report Builder and SSRS)
You can change the color palette for a chart by selecting a pre-defined palette or defining a custom palette. Custom palettes are report-specific.
[!UWAGA]
You can create and modify report definitions (.rdl) in Report Builder and in Report Designer in SQL Server Data Tools. Each authoring environment provides different ways to create, open, and save reports and related items. For more information, see Designing Reports in Report Designer and Report Builder (SSRS) on the Web at microsoft.com.
To change the colors on the chart using a built-in color palette
Open the Properties pane.
On the design surface, click the chart. The properties for the chart object are displayed in the Properties pane.
The object name (Chart1 by default) appears in the drop-down list at the top of the Properties pane.
In the Chart section, for the Palette property, select a new palette from the drop-down list.
[!UWAGA]
You cannot change the colors or order in a pre-defined palette.
To define your own colors on the chart using a custom color palette
Open the Properties pane.
On the design surface, click the chart. The properties for the chart object are displayed in the Properties pane.
In the Chart section, for the Palette property, select Custom.
In the CustomPaletteColors property, click the Edit Collection (…) button. The ReportColorExpression Collection Editor opens.
Click Add to add a color. Select a color from the drop-down list or select Expression and specify a hex value for a specific color, such as ff6600 for "Orange".
For more information about hex values, see Color Table on MSDN.
Click Add to add more colors to the palette.
When you are done, click OK.
If you are using a custom palette, you can change the order of the colors to change the color of different series in the chart.
Zobacz także
Zadania
Specify Consistent Colors across Multiple Shape Charts (Report Builder and SSRS)
Koncepcje
Formatting Series Colors on a Chart (Report Builder and SSRS)