Profile Picture

How To create Smooth Line Series Chart in given range

Posted By shweta jain 4 Years Ago
Author
Message
shweta jain
Question Posted 4 Years Ago
View Quick Profile
Junior Member

Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 16, Visits: 192
Hello,
I want to Create  chart like this attached snapshot. To create this chart, I have used NLineSeries but it is not plotting chart on given x-axis values 0-2. Please give me some idea, How can I create chart like this attached snapshot

https://www.nevron.com/forum/uploads/images/7c6103bc-cf1a-44ec-bd9c-48f4.png








Nevron Support
This post has been flagged as an answer
Posted 4 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,000
Hi Sweta,
You can have a line series that assigns x values to each data point so that they are spaced at a lesser distance for example 0.1 if you intend to have 10 data points per category for example. The following code shows how to explicitly specify x value position for each data point:

line.UseXValues = true;
line.Values.Add(10);
line.XValues.Add(0);

line.Values.Add(20);
line.XValues.Add(0.1);

line.Values.Add(30);
line.XValues.Add(0.2);


Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic