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: How to reduce label width / height
- Highchart: Line at bottom-border appear
- Highcharts - Can we have default and custom tooltip based on different chart types?
- How to make color fill area between 2 points at HighCharts
- Create highcharts chart using AJAX/JSON
- Highcharts - best way to handle and display zero (or negative) values in a line chart series with logarithmic Y axis
- loading a json file to highchart html page
- HighStock Area Charts - Add Two Series
- Labels on Grid lines in HighchartsJS
- How to add value of y-axis under the x-axis labels in highchart with given dataset
- Highcharts Date/Time and X-Axis
- Show live data on Highcharts without default series
- How to display legend in Highcharts Waterfall Chart and make the sum column of waterfall appear in multiple colors?
- Is there a way to config high chart Y Axis label to appear larger?
- Highcharts map gradients to y-axis?
- Highcharts load data with ajax to populate the tooltip
- Ionic3 Highcharts-More import Error --JsAllow Not Set
- HighCharts Bubble dataLabels color
- Step line in range selector with Highstock
- Highcharts treemap with colouraxis updating styles
- Highstocks How to change the font of the buttons of the range selecotor
- Unable to assert axis label text in highcharts using Geb
- get access to chart-object in highchart
- Parse an array in js
- Highcharts prevent page on mobile Safari from moving up and down as I scroll horizontally through data points
- HighChart- Plot Stacked Bar Chart on Status for Every Minute
- Highstock: When legend under the chart has many items, the chart height is small. How can I fix the height?
- Setting custom colors in Highcharts drill-down maps
- How to format Highstock range slider date and time formatting
- Highcharts with DHTMLX menu appearance