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 Software
Posted 5 Years Ago
View Quick Profile
Forum Member

Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)

Group: Administrators
Last Active: 4 Months Ago
Posts: 12, Visits: 169
Hi Manal,
Please elaborate - you need to produce constant (reference) lines with label or?

Best Regards,
Nevron Support Team


Manal Goyal
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
not the constant lines, I need NLineSeries and I wand to put a label at either end of the series.


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: Today @ 1:54 AM
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



Manal Goyal
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
Hi team, Thanks for the solution.
Is there anyway I can make label background transparent and make that box disappear?


Manal Goyal
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 got it working, Thanks.




Similar Topics


Reading This Topic