tomLadder / react-native-echarts-wrapper

📈Powerful React-Native ECharts Wrapper 📊
MIT License
177 stars 62 forks source link

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

Open dragslag opened 4 years ago

dragslag commented 4 years ago

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',
            }]
        };