This project is read-only.

Ticks and Labels, Axis and Chartplotter

Jun 10, 2011 at 9:36 AM

Hi,

I am trying to use the chartplotter from D3 to create two vertical axis. However I want my left vertical axis in meters (this is automatically scaled correctly as my points are represented in meters), but my right axis should be in degrees. I have been trying to rig classes for the Interface functions IticksInfo and abstract class LabelProvider but I can't seem to get it to work. I cant shake the feeling that I might be overlooking something. Does anyone know if such a functionality exists? And if not, how to implement this in an easy way?

example:

4m                                                        12 degrees

3m                                                         9 degrees

2m                                                         6 degrees

1m                                                          3 degrees

Thanks in advance