Profile Picture

adding a name to the series

Posted By Manal Goyal 5 Years Ago
Author
Message
Manal Goyal
Question Posted 5 Years Ago
View Quick Profile
Forum Member

Forum Member (44 reputation)Forum Member (44 reputation)Forum Member (44 reputation)Forum Member (44 reputation)Forum Member (44 reputation)Forum Member (44 reputation)Forum Member (44 reputation)Forum Member (44 reputation)Forum Member (44 reputation)

Group: Forum Members
Last Active: 5 Years Ago
Posts: 29, Visits: 405
I have a Nilne series and I want to attach a name to this series like in the snapshot below.

How can I achieve this.


Nevron Support
This post has been flagged as an answer
Posted 5 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
Hi Manal,
You can use data labels for this purpose:
   NChart chart = nChartControl1.Charts[0];

    NLineSeries line = new NLineSeries();
    line.Values.Add(10);
    line.Values.Add(20);
    line.Values.Add(30);
    chart.Series.Add(line);

    line.DataLabelStyle.Visible = true;
    line.DataLabelStyle.Format = "<label>";

    // annotate the first data point
    line.Labels.Add("Line Series");

or place an annotation as shown in the All Examples \ Panels \ Annotations example group.

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic