react-native-charts-wrapper icon indicating copy to clipboard operation
react-native-charts-wrapper copied to clipboard

Remove dot from specific point. Show dot on drag.

Open MaxJadav opened this issue 3 years ago • 4 comments

Expected Behavior

9oEFl

Actual Behavior

I would like to hide circle dots that currently display in all position (S,M,T....). Ans set dots only visible on touch or drag.

MaxJadav avatar Oct 17 '22 09:10 MaxJadav

Check config under https://github.com/wuxudong/react-native-charts-wrapper/tree/master/lib.

    drawValues: PropTypes.bool,
    visible:PropTypes.bool,

may help.

wuxudong avatar Oct 17 '22 10:10 wuxudong

Check config under https://github.com/wuxudong/react-native-charts-wrapper/tree/master/lib.

    drawValues: PropTypes.bool,
    visible:PropTypes.bool,

may help.

If I set this value inside config: {} It is hide for all value.

Example

dataSets: [{ 
values: [{ x: 1, y: 15, marker: "" },
                    { x: 2, y: 10, marker: "test" },
                    { x: 3, y: 30, marker: "" },
                    { x: 4, y: 10, marker: "" }],
config: {drawValues: false, drawCircles: false,}

How I can draw circle for specific value values I have to display this yellow/white circle point on drag or select.

MaxJadav avatar Oct 17 '22 11:10 MaxJadav

I think it is not supported by MpAndroidChart. check https://github.com/PhilJay/MPAndroidChart/issues/2786

wuxudong avatar Oct 17 '22 15:10 wuxudong

Is there any possibility to customize the marker , like should be centrally aligned? Also, can we customize the circle dot color based on some condition in the dataSet? @wuxudong

christopher-18 avatar Oct 24 '22 05:10 christopher-18