Set highcharts y-axis min value to 0, unless there is negative data
问题 I'm having an issue with highcharts where I have a number of different charts being generated by JSON calls. For the majority of these charts I need the minimum y-axis value to be set at 0, however there are a couple of occasions where negative values need to be shown. How can I tell highcharts to have a minimum y-axis value of 0 only if there are no negative values in the data, is this even possible? Thanks 回答1: The option that you're looking for is called softMin and was introduced in