I am trying to give the user a checkbox that says "Show Data Labels" that will control is the points should have visible labels. How do you turn them on/off programatically? Thanks!
This should be as simple as setting the Visible property on the axis labels. Y axis typically only has numeric data values, so there's one set of labels to turn on or off, but the x axis has both item labels and series labels, so you can toggle both of those:
ultraChart1.Axis.Y.Labels.Visible = false;ultraChart1.Axis.X.Labels.Visible = false;ultraChart1.Axis.X.Labels.SeriesLabels.Visible = false;
What if I wanted to hide the data point labels?
Then you set the labels on the axis that shows the data point labels to be not visible.ultraChart1.Axis.X.Labels.Visible = false;