Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
375
Can you set series label text values in code?
posted

Hi I have a chart that I want to allow end users to define the series label for data.  Is there a way to set that in code?  I know I can turn them on and off i.e. 

Me.UltraChart1.Axis.Y.Labels.SeriesLabels.Visible = True

But I dont seem to be able to set a value for the series labels.  Is this possible, or would I need to create a custom series label for the X and Y axis?

Thank you for your time and energy.

George

Parents
No Data
Reply
  • 17605
    Verified Answer
    posted

    You can set custom axis labels and series labels:

    this.UltraChart1.Data.SetColumnLabels(new string[] { "a", "b", "c" });

    and

    this.UltraChart1.Data.SetRowLabels(new string[] { "a", "b", "c" });

Children
No Data