score:2
Accepted answer
You can use minRange
instead of max
, as this will give the y-axis a small span when all values are 0
, but adjust accordingly when larger values appear.
For example:
yAxis:{
min: 0,
minRange: 2
}
See this JSFiddle demonstration of how it adapts to updated points with larger values.
score:0
It's only like that because all your data is 0. Changing any of those values fixes your graph
Source: stackoverflow.com
Related Query
- highcharts zero values results in graph half way instead at the bottom
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- Highcharts menus bottom into right side of the graph
- Hide the zero values in a Scatter/Column chart in highcharts
- Highcharts Negative Values Column Graph Bottom Radius
- Highcharts | Network Graph - Is there a way to expand leaf nodes on click of the Parent node?
- How to make label in highcharts area graph display absolute values instead of negative values?
- Highcharts with a thick line - at 0 values the line is half hidden
- Display negative Y values above zero instead below in highcharts
- How to modify the code so that Highcharts graph does not cover fixed navigation bar at the top of the page?
- The graph is not equal on the basis of the addition code in Highcharts
- How to display the value instead of percentage in a pie chart using jquery Highcharts
- missing value in highcharts line graph results in no line, just points
- Highcharts - Keep Zero Centered on Y-Axis with Negative Values
- Set stacking column graph colors from the bottom up
- How to update new plotline values instead of removing and adding new ones in highcharts
- How do I get the value of a highcharts graph point on mouseover?
- Show specific series values in the stack label using highcharts
- Fix Highcharts dataLabels to the bottom
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- Highcharts: How to provide a custom stack label in highcharts bar graph from within the stackLabel formatter?
- Highcharts - areaspline with negative values, area should be always at the bottom
- HighCharts - compare series with values instead of percentage
- AJAX displaying values from two different functions in a single Highcharts chart instead of two different ones
- Highcharts -- Hide zero values without using 'null'
- Bottom (xaxis) line of Highcharts graph should disappear
- how to display 2 same highcharts without duplicate the code
- Highcharts - reduce the space between zero data line and x-axis
- Highcharts heatmap - disabling the legend results in different colors
- how can i add in highcharts a different dashStyle just for a part of the graph
More Query from same tag
- Access another series row's data on Highchart dataLabels
- Highcharts multiple series drilldown to multiple series
- Highcharts.js: scrollable innterText?
- how to avail bg color for every bar in highchart
- Highcharter package not found - highchart function not available
- Use Javascript to select a colour declared in CSS
- Create multiple Pie Highcharts for multiple series
- How to change x-axis labels in highcharts in month, week, quarter on condition?
- How do I add a dropdown to change endRow value in a chart displaying date from an HTML table
- Highcharts how to only plot if x axis is having value greater than 0?
- jQuery - Div doesn't fit page content
- How to set second yAxis scale according to data from first yAxis
- How to display Multiple Highchart in single page
- How to set a minimum column height or range so that values in a stackedcolumn do not overlap?
- Highcharts, how to use gradient without setting a color?
- Highcharts | Network Graph - Is there a way to expand leaf nodes on click of the Parent node?
- High chart area range graph with different border color
- Highcharts Dynamically Changing Labels?
- Drill from Bar to Pie - xAxis Still Present
- Highcharts javascript
- Highcharts and jQuery Mobile Pages
- How to draw Euler diagram with highcharts library?
- (Highcharts) Polygon-like shell in polar chart
- Highcharts change a series fill opacity on legendItemClick
- HighCharts: Resize markers of scatter chart dynamically
- few line chart's Legend is being display
- Highcharts: Custom area outline for line joining each marker
- Highcharts CSS styling missing in exporting context button
- Accessing an element of an array according to a variable for a HighCharts object
- Dynamically add data to series in Highcharts