MindFusion.Wpf Pack Programmer's Guide
Labels

Labels can be displayed for any chart type - line charts display them at data points, bar charts - inside or at the top of bars, pie charts - inside or beside each pie slice.

Line charts

Line charts show labels at data points with the LineSeries.Labels property. If you want to use data binding, the property is LineSeries.LabelPath.

Bar charts

Bar charts can show labels inside bars depending on the value of the InnerLabelType property. If it is set to LabelType.CustomText, custom labels are specified with InnerLabel. The type of labels at the top of the bars depends on TopLabelType. Custom labels are set with TopLabel. If you want to use data binding for setting the labels the properties are InnerLabelPath and TopLabelPath.

Pie charts

Pie charts can show labels both inside and outside the slices. The type depends on InnerLabelType and OuterLabelType. If custom labels are drawn, the properties are InnerLabel or OuterLabel as well InnerLabelPath and OuterLabelPath if you use data binding.

Radar charts

Radar charts can show labels at the outer axes, at the inner axis and at data points. The type of the labels is set with RadarChart.InnerLabelType and RadarChart.OuterLabelType. The type of labels at data points in each series is set with RadarSeries.LabelType. Custom labels are specifies with RadarChart.InnerLabels and RadarChart.OuterLabels as well RadarSeries.Labels.

3D Surface charts

In 3D surface charts you can show the last label if the maximum number at an axis is not a multiple of the interval - for example the biggest number is 33 and the interval is 5.

3D Bar charts

3D bar charts can also show inner and outer labels with the same properties as their 2D counterparts - BarSeries.InnerLabelType and BarSeries.TopLabelType. Custom labels are set with BarSeries.InnerLabel and BarSeries.TopLabel. The properties for custom labels when data binding is used are BarSeries.InnerLabelPath and BarSeries.TopLabelPath.

3D Pie charts

3D pie charts can have labels inside and outside the pie slices - choose the right type of labels with PieSeries.InnerLabelType and PieSeries.OuterLabelType. If you want to set custom labels the properties are PieSeries.InnerLabel and PieSeries.OuterLabel or PieSeries.InnerLabelPath and PieSeries.OuterLabelPath if you use data binding.

Font Settings

The Font settings for labels drawn at each chart are set with ChartSeries.LabelFontFamily, ChartSeries.LabelFontSize, ChartSeries.LabelFontWeight and ChartSeries.LabelFontStyle.