简体   繁体   中英

Equaling max value in two side of graph in highcharts.js

Hello I am trying to show some data on highcharts.js it is working fine but I need to set max value of two side of graph because showing data with this way misleading user. Even value of line data is less than bar data it is still showing top side of bar because of line data's scale on right.

在此处输入图像描述

How can I avoid that? How can I set same scale for both side of graph?

While I have 2 data arrays I compared max value of array's elements and manually set both graph's max value to this element.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM