Replies: 1 comment 3 replies
-
Hey and welcome to chartfx, As long as each axis only depends on one dimension of the data (which seems to be the case for the mercator projection), it should be possible to do it the same way the nonlinear time axis does it. More complex transformations would be difficult at the moment. Feel free to also post some screenshots (and/or links to your code if it's open source) of your usage of chart-fx to our user gallery, your usecase sounds interesting, I think you're the first one to use chartfx for geographic data, which i'm sure will have some interesting special cases :) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using a ChartFX XYChart with a ContourDataSetRender to display GEBCO bathymetry data.
This is latitude/longitude data with an elevation at each data point.
I want to apply a Mercator projection to the chart and was wondering about the best way to do that.
I think I might need something like the NonLinearTimeAxis (from TimeAxisNonLinearSample) to scale the axes.
Does this seem like the right approach? If f not I would appreciate some guidance!
Beta Was this translation helpful? Give feedback.
All reactions