Question: How to create a Rectangle Chart instead of Bubbles? #545
Replies: 2 comments
-
Hey, thanks for your interests and your kind words :) At the moment it seems that the bubble shape is hardcoded to be a circle/oval. I would suggest creating a custom renderer by overriding fillOval by fillRect .
Potentially we could also add a As for the separate x and y values, that sounds more like a style for (symmetrical) error bars to me. That would mean overriding to draw a box instead of two (capped) lines. That would allow you to use the datasets. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply, I'll have a look into that class. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm constantly running into flaws of the original JavaFX Charts, so I was really happy to find this library; it seems really promising to me, but I'm new to it and try to explore it's features. :-)
But until now, I didn't find any hint for my problem, so maybe someone is kind enough to help? Thanks in advance!
I need a chart somehow similar to a bubble-chart, but not with circular bubbles, but with rectangles as markers. So for each (x,y)-Coordinate, I have an individual length- and width-value (instead of a single radius-value).
What is the best way to approach this? I don't want to reinvent the wheel, if maybe there is a simple solution but I don't find it... ;-)
Beta Was this translation helpful? Give feedback.
All reactions