score:2
Accepted answer
The answer you're looking for is the allowDecimals
Boolean:
yAxis: {
allowDecimals : false,
/* completely irrelevant stuff follows... */
title: {
text: 'It\'s the y-axis'
},
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
With allowDecimals: false
.
yAxis: {
allowDecimals : true, // though it defaults to 'true' anyway...
/* other stuff... */
},
And the same graph with allowDecimals: true
.
References:
Source: stackoverflow.com
Related Query
- Only show integer steps on axis
- How to show only integer values on yAxis of HighChart?
- Show label only every x number of steps in highcharts
- How to show only specific x-axis values on datetime axis in Highcharts
- Show Gridline on Y axis for 0 point only
- Show only two axis values in highcharts
- Why would the label of the vertical axis only show after the button is clicked?
- In the following code i want to show the WHOLE names on x axis nd dont want them to overlap with the legend
- Show only time labels on xAxis. Highcharts
- Highcharts - only show tooltip when hovering directly on point
- How to show all values at datetime axis in highcharts?
- How to show gridlines only on 0 on the yAxis in highcharts?
- highcharts - removing decimal places on Y axis with only one point
- Highcharts - Display only year in x axis and stop auto formatting
- Highcharts.js - Background color of axis only
- Highchart: Only show one series at a time
- Highchart: can I make sure the values on the Y axis are only integers?
- Show only first and last xAxis label in Highcharts
- Show some specefic number on gauge highcharts axis labels
- Highcharts.js DateTime on x axis coming from JSON only displays number
- Highcharts show plot value on x axis label
- HighCharts area graph - show tooltip only on hover of marker
- How do you show grid lines for both x axis and y axis in highchart?
- HighCharts - Show categories in x axis intead of the value of x in Bubble Chart
- Highcharts - show decimal places only if needed
- Highcharts stacked column stackLabels do not show when axis is reversed
- Highcharts Solid Gauge only want to show 1 data label
- Only 3 steps on xAxis with type xAxis in Highcharts
- How To Show All Data Labels For Datetime Axis In Highcharts
- Highcharts - show only selected points
More Query from same tag
- Highcharts Y-axis per serie csv
- 'ManyToOneRel' object has no attribute 'parent_model' error with django chartit
- Highchart - Redraw Chart after Window is resized
- Highstock - Can't update using value from file, data type?
- highcharts groups of stacked columns
- iScroll 4 and highcharts compatibility issue
- How to update bar graph in Highcharts without redrawing again
- Adding Date Labels to a HighCharts line graph
- Bar chart with Stacked bar
- how to import JSON data into VS2012 to plot highcharts
- Highcharts with Rails
- update table as we click on the stacked highchart based on some logic
- How can I fix Highcharts error #13?
- Download Highchart Graph on different button click
- Remove Image/Symbol from Highchart Graph
- R HighCharter Stock Graph not correctly pulling dates
- How to add flags to countinuous update angular highcharts
- Highcharts only loads Title / Subtitle
- javascript Highcharts object as a C# class
- how to show data label on mouse over in highcharts?
- Highcharts xAxis doesn't get the right time format
- Highcharts Line Chart - Hyperlink on a data point
- highCharts:when color of data set undefiend,slice is white in piechart
- Update data of existing Highstock graph using only JavaScript
- Highcharts Stacked Area Data
- HighCharts show datetime format on xAxis
- Highcharts in Vue.js component
- Highcharts donut hover all area
- HighCharts API for Deprecated Versions
- highcharts - donut chart - Labels inside and outside