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

Last edited May 6, 2013 at 9:10 AM by torman119, version 2

Comments

dfgs Mar 10, 2016 at 3:07 PM 
IsRowColumnSwitched property only has an effect on series colors :)

uTILLIty Dec 5, 2015 at 1:41 PM 
none of this seems to be working (Properties don't exist)