How to configure the appearance
The charts provide several properties to adjust the appearance. The following properties can be changed:
- ChartTitle: type of String, title of chart
- ChartSubTitle: type of String, subtitle of chart
- IsRowColumnSwitched: type of Boolean, to switch the axes
- ChartTitleVisibility: type of Visibility, show or hide the title
- ChartLegendVisibility: type of Visibility, show or hide the legend
- ToolTipFormat: type of String, format of tooltip e.g. 'Caption: {0}, Value: '{1}', Series: '{2}', Percentage: {3:P2}'
<chart:ClusteredBarChart
...
ChartTitle="Bar Chart"
ChartSubTitle="Chart with fixed width and height"
IsRowColumnSwitched="True"
ChartTitleVisibility="Collapsed"
ChartLegendVisibility="Collapsed"
ToolTipFormat="{}Caption: {0}, Value: '{1}', Series: '{2}', Percentage: {3:P2}"
...
SelectedItem="{Binding Path=SelectedItem, Mode=TwoWay}"
Width="600"
Height="400" >
<chart:ClusteredBarChart.Series>
...
</chart:ClusteredBarChart.Series>
</chart:ClusteredBarChart>
Result with hidden title and legend and custom tooltip format
