Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dragslag opened this issue Apr 14, 2020 · 0 comments
Open

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

dragslag opened this issue Apr 14, 2020 · 0 comments

Comments

@dragslag
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant