I am trying to draw a horizontal line (like a baseline) on a
plot chart. I have plotted labels on my x-axis (eg Jan,Feb..) and I
have some numeric values on my y-axis. I want to show a baseline
from x=0 to x=max for a certain y-value.
I tried to use CartesianDataCanvas and use moveTo, lineTo
api's on the canvas. But my problem is, if I draw the line from 1st
value in x (like Jan) to last (like Dec) it draws from the center
of Jan to center to Dec.
Whereas I want it to draw from the x=0 value (the vertical
axis) to the end of the x-axis.
Can somebody please give me pointers on how achieve this?