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

setting range for y axis when its type is 'value'

Open dragslag opened this issue 5 years ago • 0 comments

Thank you for making this! I am having trouble setting a custom range for the y axis, when its type is a value. Can I set a custom range, e.g. min 50 & max 100?


   const option = {
            xAxis: {
                type: 'category',
                data: data5,
            },
            yAxis: {
                type: 'value',

            },
            series: [{
                data: data2,
                type: 'line',
            }]
        };

dragslag avatar Apr 14 '20 12:04 dragslag