MindFusion.Charting Programmer's Guide

Using the LabelsCollection Editor

The LabelsCollection Editor enables design - time editing of collections of lists with labels. The properties that use the LabelsCollection editor are:

How to use the LabelsCollection editor?

  • Click to edit any of the relevant properties, the LabelsCollection editor appears automatically.
  • Add as many lists as you want with the Add button. Remove unwanted lists by selecting them and presssing Remove.

  • Add the labels for each list as strings, seperate them with commas.
  • When all labels are set click OK. The labels appear as strings in the Property browser. The chart is updated with the new labels.

Note

Labels set with the LabelsCollection require the LabelType property to be set to CustomText for example:

  • for XLabels, XAxisSettings.LabelType must be AxisLabelType.CustomText
  • for YLabels, YAxisSettings.LabelType must be AxisLabelType.CustomText
  • for Y2Labels, Y2AxisSettings.LabelType must be AxisLabelType.CustomText
  • for InnerLabelsInnerLabelType must be set to LabelType.CustomText
  • for TopLabels, TopLabelType must be set to LabelType.CustomText
  • for bubbles Labels, LabelType must be set to LabelType.CustomText

See Also

Using the Double Collection Editor