Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
adding a name to the series
adding a name to the series
Post Reply
adding a name to the series
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Manal Goyal
Manal Goyal
posted 6 Years Ago
ANSWER
Topic Details
Group: Forum Members
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.
Reply
Like
0
Nevron Software
Nevron Software
posted 6 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 12,
Visits: 173
Hi Manal,
Please elaborate - you need to produce constant (reference) lines with label or?
Best Regards,
Nevron Support Team
Reply
Like
0
Manal Goyal
Manal Goyal
posted 6 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 29,
Visits: 405
not the constant lines, I need NLineSeries and I wand to put a label at either end of the series.
Reply
Like
1
Nevron Support
Nevron Support
posted 6 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
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
Reply
Like
0
Manal Goyal
Manal Goyal
posted 6 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 29,
Visits: 405
Hi team, Thanks for the solution.
Is there anyway I can make label background transparent and make that box disappear?
Reply
Like
0
Manal Goyal
Manal Goyal
posted 6 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 29,
Visits: 405
I got it working, Thanks.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search