score:125
Accepted answer
Set the allowDecimals
option in the y axis to false in order to prevent non integer tick marks from being displayed:
yAxis: {
allowDecimals: false,
labels: {
style: {
fontSize: '9px',
width: '175px'
}
},
title: {
text: ''
}
}
Here is a demonstration: http://jsfiddle.net/sBC9K/
score:0
Wiht echarts - "4.8.0" you just have to do,
options = {
yAxis: {
minInterval: 1
}
};
Source: stackoverflow.com
Related Query
- How to show only integer values on yAxis of HighChart?
- How to show gridlines only on 0 on the yAxis in highcharts?
- How to show only specific x-axis values on datetime axis in Highcharts
- How can I show only one x-axis in synchronous chart highchart
- In highchart how to show y axis values in reverse order
- How to get Yaxis values from highchart
- When there is a plotband and a plotline emerging from yAxis how to set a particular width for plotband only in highchart
- HIGHCHARTS - Given a series with UNIX stamps and values pairs for the data, how do I show only the date for the first and last point on xAxis?
- how to hide highchart x - axis data values
- How to show all values at datetime axis in highcharts?
- How to apply borderRadius only for top side of Column or Bar in Highchart
- How to break highchart bars for extreme values
- Show Fraction values in highchart
- hide YAxis values in HighChart Solid Gauge
- Showing marker for separate values only in line chart in HIghchart
- How to add % symbol to Y axis values in HighChart graph?
- how to pass datalabels along with data to show it in tooltip in highchart
- How to show only weekday on xAxis with Highcharts?
- how to show data label only on drilldown pie?
- how to show cross hair in highchart always by default
- how to show cross hair in highchart always by default
- How to make two charts using highchart show up in the same line side by side using div
- Show only three levels of highchart Sunburst always on each click in Angular8
- Show only month labels on HighChart xAxis
- How to show only one pair of linked Highcharts series at a time
- How to set a Maximum yAxis range for HighChart graph?
- show only last x points on Highchart
- How to format y values in a tool tip to show commas?
- how to show data json to 2 different highchart bar
- how do i redraw only the Highchart with new API that depends on my Select Option Parameter?
More Query from same tag
- Hightcharts Display Date month on X-Axis
- Laravel Highcharts - Cant set value and labels from arrays
- Adjust the org chart line to be from/to the side of the node versus top or bottom for organization chart?
- Highcharts - not show due to change over the frequency time of one every second?
- Highcharts in Laravel 4 project are not displayed
- Showing multiple Tooltips in highcharts simultaneously
- How to specify a start point on highcharts stacked bar charts
- add input from html text box into highcharts graph
- How do get highcharts combo column scatter to work?
- Among Fusion Charts,High Charts,EXTJs Charts better
- Disable the UTC timezone
- Highcharts: setOptions for two different series of charts?
- "HighCharts not showing in IE, works well with mozilla, chrome"
- How to convert a multi-key hash to single key hash in Ruby for Highcharts
- Color each point individually in column chart highcharts
- Spline Graph with diagonally fixed values with 0,0 and ploting remaing same
- Highcharts how to make legends as data labels on scatter plot
- Highcharts not displaying
- trying to use highchart xrange to display large number of categories
- Show more than 20 categories on highcharts heatmap xaxis
- How to load data dynamically using JSON call in Highcharts Drill Down pie chart?
- How to get Highcharts xAxis co-ordinate?
- Shared Tooltip error during mouse click event in highcharts
- How to render the missing data series and fix the dates on the x-axis in Highcharts?
- Find special chart on highcharts
- Highcharts dataLabel positioning issue in FF and IE
- Highcharts - Get x Value From Y value
- Highcharts-tooltip doesnt display date
- How to interpret Timelien for HighStock
- Meteor: Display API result data on highcharts