Profile Picture

How To create Smooth Line Series Chart in given range

Posted By shweta jain Last Year
Author
Message
shweta jain
Question Posted Last Year
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: Last Year
Posts: 14, Visits: 185
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 Last Year
View Quick Profile
Supreme Being

Supreme Being (4,063 reputation)Supreme Being (4,063 reputation)Supreme Being (4,063 reputation)Supreme Being (4,063 reputation)Supreme Being (4,063 reputation)Supreme Being (4,063 reputation)Supreme Being (4,063 reputation)Supreme Being (4,063 reputation)Supreme Being (4,063 reputation)

Group: Forum Members
Last Active: 6 minutes ago
Posts: 2,945, Visits: 3,306
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