Report Location in pixels of point values in Desktop Posted December 10, 2012 Hi, I'm trying to locate the position in pixels of the points in my charts. I'm doing the following: int yp = chart.getAxisY().valueToPixel(chart.getData().getY().get(series, point())); int xp = chart.getAxisX().valueToPixel(point); The above code is working well except for pies and doughnuts. It's returning [xp = 0, yp =0] Is there any way of getting the location of a pixel inside the area covered by value in a chart? I would appreciate any help on the matter.
Location in pixels of point values
in Desktop
Posted
Hi, I'm trying to locate the position in pixels of the points in my charts. I'm doing the following:
int yp = chart.getAxisY().valueToPixel(chart.getData().getY().get(series, point()));
int xp = chart.getAxisX().valueToPixel(point);
The above code is working well except for pies and doughnuts. It's returning [xp = 0, yp =0]
Is there any way of getting the location of a pixel inside the area covered by value in a chart?
I would appreciate any help on the matter.