Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domain and Range markers #99

Open
permiakover opened this issue Oct 25, 2022 · 6 comments
Open

Domain and Range markers #99

permiakover opened this issue Oct 25, 2022 · 6 comments

Comments

@permiakover
Copy link

permiakover commented Oct 25, 2022

Hello, what is a rational way to add markers to the line chart with text label?

@HanSolo
Copy link
Owner

HanSolo commented Oct 25, 2022

Do you mean a marker at a random point of the line? There is nothing available yet. Can you add a code snippet and a screenshot with some example to this issue? With that I could maybe implement something.

@permiakover
Copy link
Author

изображение

here is a example of domain markers over AreaChart

изображение

here is a example of domain markers over 'combined HeatMap like chart'

From my point of view, it's a line(width, color, stroke) that has X or Y value related to domain or range axis, with or without label.
If it possible to get or sync chart values and canvas values - it could be implemented as overlay pane

HanSolo added a commit that referenced this issue Nov 15, 2022
@HanSolo
Copy link
Owner

HanSolo commented Nov 15, 2022

I've finally found some time to add a prototype for markers in the jdk17 branch. You will find a demo in the ChartTest class in the test package

@Oleksiy1984
Copy link

Oleksiy1984 commented Mar 17, 2023

Regarding adding MarkerBuilder. After upgrading from 17.1.25 to the latest 17.1.27, the crosshair, and tooltip is no longer working. Tested in the ChartTest class in the test package.

@HanSolo
Copy link
Owner

HanSolo commented Mar 17, 2023

Thx for the heads up, will take a look at it 👍🏻

@Oleksiy1984
Copy link

Oleksiy1984 commented Apr 11, 2023

Thanks for setMouseTransparent(true). Is it possible to alter MarkerBuilder to accept AxisType.TIME value?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants