Hello,
I want to manually calculate Axis' Maximum, Minimum and Unit. The result of calculation looks pretty well to me but I need a possibility to calculate to which values I must round those values. This depends on the Axis height and difference between Max and Min. Is there a way to retrieve an Axis height or actual chart height/width? Not the whole chart control but the chart placeholder where all series are drawn? Or maybe there is another way to set those values?
Thank you
I have been looking into your description and figured you are looking for the GridArea and its bound to do some calculations. You can access it like so:
xamWebChart1.Scene.GridArea.
Please let me know if you require any further assistance on the matter.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support
Thank you for reply.
I tried to get Width and Height properties of GridArea but they're always 0. So is with ActualWidth and ActualHeight. At which moment they get proper values?
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
If the above suggestion helped you solve your issue please verify the thread as answered so other users may take better advantage of it.
Sincerely,Petar MonovDeveloper Support EngineerInfragistics Bulgariawww.infragistics.com/support
No this didn't help.
I create chart dynamically using Series s = new Series(...) and chart.Series.Add(s). After that I call UpdateLayout and ActualHeight is still 0
I can suggest you make sure this is executed after the chart Loaded event. If this doesn’t help please send me an isolated sample I can further investigate.
Looking forward to hearing from you.
Best regards Petar.
More than that. I build chart after web service response which I call in Loaded event. I will try to prepare a sample.
We found that making a sample in our present conditions would take too much time which we as usual don't have :). So we decided to leave it as is and return to it later. Thank you for your efforts.
I am just checking if you had a chance to prepare the sample you mentioned and if this is still actually a n issue for you.
Looking forward to hearing form you.