[BUG?] Perspective Power Chart Bug - Embr-Chart as a Replacement?

Yeah, it seems like getZoomedScaleBounds() only returns the scales that have been zoomed. If you allow for panning and zooming on both axes then you'll have data for both x and y (and presumably y2 and y3 as well).

Yup that's exactly it, you can't write undefined to a property. This is a good place to use JavaScript's ?? coalescing operator.

1 Like