nativescript-community / ui-chart

A powerful chart / graph plugin, supporting line, bar, pie, radar, bubble, and candlestick charts as well as scaling, panning and animations.
https://nativescript-community.github.io/ui-chart/
Apache License 2.0
33 stars 12 forks source link

added support for setting and getting clipHighlightToContent #49

Open mBaldasty opened 1 year ago

mBaldasty commented 1 year ago

PR Checklist:

PR Description

Added support for getting and setting clipHighlightToContent.

Added function setClipHighlightToContent and isClipHighlightToContentEnabled (same style as as setting the clipping of data and values) in order to allow the highlight to be drawn outside of the content area without bleeding out graphs.

As the variable was already present but lacked the functions to set / get this seemed like a "missing" feature

farfromrefug commented 1 year ago

@mBaldasty actually this is not needed as the property is public ? I have an on going heavy and breaking task to remove all those getter and setter and use properties instead. The idea is to reduce the size of the lib which is pretty big right now.

Can you confirm you can still use it without the getter and setter ?