How to show length of rectangle in the chart


Author
Message
shweta jain
shweta jain
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
Posts: 16, Visits: 192
Hi,
I want to show length of rectangle as I design in attached snapshot by pen. How can I show length of rectangle like attached snapshot?
For creating rectangle I have used this code -
https://www.nevron.com/forum/uploads/images/1be0218a-d264-4ede-a576-d3f7.png
NGraphicsPathSeries pathSeries = new NGraphicsPathSeries();
    NGraphicsPath rectangle = new NGraphicsPath();
    rectangle.AddRectangle(xLocation, yLocation, 10, diameter);
    pathSeries.GraphicsPath = rectangle;
    _cartesianChart.Series.Add(pathSeries);
    pathSeries.DisplayOnAxis(StandardAxis.PrimaryY, true);
    pathSeries.DisplayOnAxis(StandardAxis.PrimaryX, false);
    pathSeries.DisplayOnAxis(visibleXAxis.AxisId, true);

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search