Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi, In general you can access properties that are calculated at layout time either after a redraw or after you force the control to layout: nChartControl1.Document.Calculate(); nChartControl1.Document.RecalcLayout(nChartControl1.View.Context);
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 8 Years Ago
Posts: 61,
Visits: 35
|
Hi,
I got a reply for one of my questions where I have some relevant information. If you use this two lines:
NPointF p1 = nChartControl1.Charts[0].PlotArea.LeftBottom; NPointF p2 = nChartControl1.Charts[0].PlotArea.RightTop;
it should give you the 2 opposite corners of the graph, from that you should be able to calculate the height of the Y axes. There are some restrictions what I trying to sort out just now (the graph need to be redraw before you can take those points). Please find a link of my question/answer it might help. http://forum.nevron.com/shwmessage.aspx?ForumID=1&MessageID=7936
Regards Daniel
|
Group: Forum Members
Last Active: 8 Years Ago
Posts: 61,
Visits: 35
|
I would be interested in that too, as I am trying to place an object under the X axis but I could not figure out how to calculate the ration.
Regards Daniel
|
Group: Forum Members
Last Active: 11 Years Ago
Posts: 5,
Visits: 1
|
Hello Nevron Expert, I want to use the height of Y axis, but i found no such property of the NAxis object,can anyong give some some help?
|