JavaFX Linechart zoom scroll


I want to implement a linechart in JavaFX which should be zoomable / scrollable.

I used SceneBuilder for creating the Chart and all the data is shown up correctly. My goal is that the user is able to zoom in and to scroll to the sides (x - axis).

I found many topics about zooming and i already tried to implement it, but it just changes the scale and is not a solution for my problem.

I tried to draw a mockup for my chart. Maybe someone can help me with that problem. ( )

kind regards Christian

4/25/2014 10:57:48 AM

Because native charts don't provide zooming, panning etc, I have implemented a library using the plotly.js charts. You can have a look on github it's open-source. Maybe this can be helpful in your case.

3/15/2018 12:29:04 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow