question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there any way to zoom line chart in the y-axis. if I select some area(blue color rectangle) I want that area to zoom in the y-axis(black arrow). Is it possible? DeepinScreenshot_select-area_20190724160244

I wrote this in my chart. chart: { id: 'chart2', type: 'line', height: 400, animations: { enabled: false, }, zoom: { enabled: true, type: 'xy', autoScaleYaxis: true, zoomedArea: { fill: { color: '#90CAF9', opacity: 0.4 }, stroke: { color: '#0D47A1', opacity: 0.4, width: 1 } }, }, },

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
junedchhipacommented, Jul 24, 2019

Just checked it again, looks like the functionality is broken. I will fix and update this thread.

0reactions
Sumon-miazicommented, Aug 6, 2019

zoom in y and xy axis is not working in 3.8.4v. @junedchhipa

zoom: {
        enabled: true,
        //type:'xy',
        type: 'y',  
},

deepin-screen-recorder_Select area_20190806172733

Read more comments on GitHub >

github_iconTop Results From Across the Web

Zooming and autoscaling the Y-axis of a plot
To interactively modify the y-axis range of a graph, start by switching to the y-zoom cursor-input mode, either by pressing the "y" key...
Read more >
How to zoom y axis or x axis alone? | Xamarin - SfChart
This will allow you to zoom the chart both vertically and horizontally, by default. By using the ZoomMode property, you can specify whether...
Read more >
How can I zoom only the x axis letting the y axis fixed
You can set the axes proportion by right clicking in an empty spot of the Graphics View and using the options shown in...
Read more >
Can I lock the Y axis (Even when the Zoom In/Out is used)?
Yes, there is a zoom button in the figure's toolbar. The zoom command is an option also, e.g.:.
Read more >
Zooming and Scrolling - KST Plot
In Y Mouse Zoom mode, the x axis is fixed. Zooming in is performed by clicking and dragging a rectangular area; however, the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found