Android Question xGraph with days and months

Cebuvi

Active Member
Licensed User
Hi,

I have to create a graph in which the divisions on the X axis are the days of the year and the intervals are the months.

Is it possible to do it using the xGraph class?

Thanks.
 

Cebuvi

Active Member
Licensed User
the values of the X axis are integer numbers from 1 to 365 or 366. The intervals would be the months with different numerical values 29, 30 or 31.
The function is the Equation of Time that has different values in minutes on each day of the year.

1596984995814.png
 

klaus

Expert
Licensed User
the values of the X axis are integer numbers from 1 to 365 or 366.
You could display the values from 1 to 365, but their value remains.
You have no direct information of the month.
You could display those outsides the Graph using the xGraph1_CursorPositionChanged (CursorIndex As Int, XIndex As Int) event.
You cannot display different colors in a same curve.
 
Top