Replies: 2 comments 1 reply
-
Hey, while this is certainly not something chart-fx can do out of the box, you can have a look at the various Plugins which implement similar things and then build your own plugin according to your needs. I'd point you towards the EditDataSet and DataPointTooltip plugins, which should show how you how to register to mouse events on the chart, get corresponding dataset points and draw data on top or below of the charts. Feel free to ask for help here if you encounter problems with that or share what you built so others can learn and build upon. |
Beta Was this translation helpful? Give feedback.
-
Amazing, thanks for the reference. Do you think it would be feasible to implement "Drawing" directly in the financial charts or do just really a separate plugin? Or somehow even split it to enable drawing for different chart types too? How would you basically recommend to implement it so it could be accepted as a SR? Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Hello, i would like to accomplish following:
I have a JavaFX GUI application for analyzing market data
I would like to show a candlestick chart with data I have
The user should have possibility to draw fibonacci retracement on the chart
I would then like to get the coordinates of the fibonacci
But I have not found any mentions about interactivity of ChartFX charts, so my question is, obviously:
Does the ChartFX support user input or drawing in the chart canvas, preferably even with some "snap-to-chart" feature?
Are there any examples of this (preferably with the financial charts implementation)?
Thank you very much for any hints!
Beta Was this translation helpful? Give feedback.
All reactions