Find axes position relative to panel
Posted: Wed Mar 28, 2012 3:42 pm
Hi,
I am developing a chart for an Android app.
I am trying to find the axes positions relative to the panel in order to position a view on top of the chart in the top corner.
The only thing I found that is relative to the actual chart area (not including labels) is:
That gives the number of pixels from the edge of the screen to the middle point between left and right axes, but there is no getXLeft() or getXRight or even getXWidth().
I am using a very simple chart with only back wall and labels on right and bottom axes.
Any help will be much appreciated.
Thanks,
Meir, InvestSoft
I am developing a chart for an Android app.
I am trying to find the axes positions relative to the panel in order to position a view on top of the chart in the top corner.
The only thing I found that is relative to the actual chart area (not including labels) is:
Code: Select all
chart.getGraphics3D().getXCenter();
I am using a very simple chart with only back wall and labels on right and bottom axes.
Any help will be much appreciated.
Thanks,
Meir, InvestSoft