react-native-echarts icon indicating copy to clipboard operation
react-native-echarts copied to clipboard

part of `markArea` configurations are unavailable on iOS and Android but available on Web

Open arlovip opened this issue 6 years ago • 0 comments

official demo link

  • screenshot

available on Web

web screenshot

unavailable on simulator phone

ios simulator screenshot

 series: [
            {
                name:'用电量',
                type:'line',
                smooth: true,
                data: [300, 280, 250, 260, 270, 300, 550, 500, 400, 390, 380, 390, 400, 500, 600, 750, 800, 700, 600, 400],
                markArea: {
                    data: [ [{
                        name: '早高峰',
                        xAxis: '07:30'
                    }, {
                        xAxis: '10:00'
                    }]],

                   // the following configurations are unavailable on iOS and Android platform but available on Web

                    label: {
                        color: 'green'
                    },
                    itemStyle: {
                        color: 'orange',
                    }
                }
            }
        ]

arlovip avatar Feb 26 '19 02:02 arlovip