ibrahimsaputra / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

No function to override for drawing custom label on Y axis #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to show time values as label on Y-axis which allows increase or decrease 
in granularity of label with zoomin and zoomout.
2. Try to show time as label for 1 scale and decimal value as label for second 
scale which allows increase or decrease in granularity of label with zoomin and 
zoomout.
3.

What is the expected output? What do you see instead?
We should be able to override the logic to draw Y axis labels and generate new 
labels based on zoom in and zoom out.

Please provide a source code snippet that we can use to replicate the issue.

What version of the product binary library are you using?
Jul 30, 2011

Please provide any additional information below.
I want time as label on X axis for which I can override drawXLabels of XYChart 
along with getXLabels as done in TimeChart.java
but if I want time labels on one scale and decimal values on another scale then 
I am forced to use setYTitle of XYMultipleSeriesRenderer class.If we use 
setYTitle  then we can't generate labels at runtime.
So I have written the code to draw Y label and the code to generate Y label 
inside two function which I can override from my code. 

Original issue reported on code.google.com by pk.ece.n...@gmail.com on 5 Jan 2012 at 1:58

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in SVN rev. r352.

Original comment by dandrome...@gmail.com on 10 Jan 2012 at 8:43