autoScaleYaxis with zoom? #758
stevekstevek
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to make a chart that shows energy usage, and allows the user to zoom in to a time period. I got zoom working, but it's not terribly useful without scaling the Y axis. This doesn't seem to be working, and I'm not sure if I'm missing something or it's some compatibility problem. Here's my simple code:
type: custom:apexcharts-card
apex_config:
chart:
zoom:
enabled: true
type: x
autoScaleYaxis: true
toolbar:
show: true
autoSelected: zoom
graph_span: 2h
header:
show: true
title: 1 Minute Energy Usage (Watts)
show_states: false
colorize_states: true
series:
Chart unzoomed:
Chart zoomed:
Beta Was this translation helpful? Give feedback.
All reactions