Open DJ-Raven opened 1 month ago
This PR I has add new crosshair label padding that draw over the CrosshairOverlay. and adjusted crosshair label position to be within chart dataArea when LabelAnchor is CENTER. this changed apply for both domainCrosshair and rangeCrosshair
CrosshairOverlay
CENTER
domainCrosshair
rangeCrosshair
crosshair.setLabelPadding(new RectangleInsets(3, 5, 3, 5));
Please check this PR I hope this option have in this JFreeChart. or something wrong with this changed please help improve the code changed. Thank you.
This PR I has add new crosshair label padding that draw over the
CrosshairOverlay
. and adjusted crosshair label position to be within chart dataArea when LabelAnchor isCENTER
. this changed apply for bothdomainCrosshair
andrangeCrosshair
Before and no adjusted label position
After update and apply padding
crosshair.setLabelPadding(new RectangleInsets(3, 5, 3, 5));
Please check this PR I hope this option have in this JFreeChart. or something wrong with this changed please help improve the code changed. Thank you.