score:2
If you see the API documentation of max
you'll see that:
If the
endOnTick
option is true, themax
value might be rounded up.
So a solution is to set endOnTick: false
, as the default is true
. The same applies to min
.
Note that this might make your ticks (axis labels) appear at strange points, but this can be remedied with a flood of tick...
options like tickInterval
, tickPositioner
, tickPositions
, tickAmount
...
A example addition to your code could be (JSFiddle):
endOnTick: false,
startOnTick: false,
tickPositions: [81,105]
Note that there might still be some slight spacing from maxPadding
, which is 0.05
by default. You could also set this to 0
, but then points might go up to the very edge of the plot area.
Source: stackoverflow.com
Related Query
- How can I get HighCharts column chart to scale the yAxis to not have so much whitespace?
- Highcharts Chart Bar - How can I display in the chart, only one column from my HTML table?
- The RTL language (Arabic) is not working with HighCharts pie chart correctly, how can I fix this?
- How can I get access to a Highcharts chart through a DOM-Container?
- Highcharts - yAxis logarithmic scale and allowDecimals set to false not seeming to have any effect
- Can I with highcharts column stacking on hover not highlighting the whole serie
- How do I make the label in polar chart not get split automatically?
- Get the end points of each bar in a highcharts column chart
- How can I make milestone lines with a GANTT chart using the highcharts library?
- Highcharts Bubble Chart - How to get the size of the point
- Highcharts - How can I get the nearest point on click event
- How can I display crosshair labels on top of the chart with Highcharts
- How to have first level as column chart and second level as Fixed placement columns in drill down highcharts
- How can I get a chart only with legends using highcharts
- How can I style my highcharts solid gauge to have a background behind the percentage?
- How can I get highcharts Donut chart to auto calculate percentages
- How can i use Highstock rangeSelector get the yAxis Max_value and Min_Value
- How can i load external json data in highcharts to show the bar chart
- How to make a HighCharts drilldown column/bar chart that does not hide the non-drilldown categories
- How can i place the Highcharts yAxis categories inside the chart?
- How can I reverse the series order of a pyramid chart in Highcharts
- How can I get a data label in my Highcharts Pie Chart that is a font-awesome icon?
- How can I get the top value of the yAxis labels in highcharts?
- Highcharts - Column Chart Drilldown, how to change the drilldown bar color based on some value
- How can I change highcharts events after the chart has been initialized
- How can I get highcharts barChart bars to always fill the container?
- Can I have a chart automatically size the height (rather than using 400px) using the Highcharts .NET Wrapper?
- How can I replace the term "Week" in highcharts Gantt Chart Timeline?
- Highcharts - How to get the particular chart id on click of custom label in export options
- How can I align the scale on my HighCharts graph with the axis rather than the margins?
More Query from same tag
- Charts,Server Side or Client Side?
- How to drilldown a stacked column highchart to show all stacks instead of clicked
- Create multiple vertical plotlines on click and drag each of the plotline. Developed in Angular 6 and Highcharts
- Set the number formatting in general for a Highcharts chart?
- Symfony webpack "Highcharts is not defined"
- How to debug a non-working AJAX-based HighChart?
- Highcharts with Ajax call returning JSON file
- Caveats of highcharts-ng
- Function to change the Highcharts fontSize
- High charts remove dots from the line graph
- Highchart in new window
- Highcharts - Add Point to chart with different color based on some condition dynamically
- How to create a canonical 3d plot in Highcharts?
- Highmaps : dataLabels console error
- Tooltip doesn't appearing for overlapping datapoints in highchart xrange
- Show PlotLine value on yAxis Highcharts
- Highcharts multiple axis with custom labels
- How do I get remove of 'data table' option from High chart export
- Highcharts with Google Analytics Oauth 2.0
- Highcharts: How to pass the color parameter with data and dates to the bar chart?
- (jQuery Highchart) How to make this as Horizontal Bars?
- Create Highchart graph from specific CSV file
- dataLabels position issue for area chart (Highcharts)
- How do I toggle off some specified series by default in HighChart?
- Adding additional information to Highstock point
- How do I export the current styling of a HighChart series chart to PNG, JPG or PDF?
- Rails, Highchart maps - adding custom data
- Highcharts single horizontal stacked bar chart with data names (labels) and %-ages always shown and data numbers and series name shown on mousehover
- Highcharts - Show tooltip onClick instead of hover
- Highstock flag position not correct for yAxis with top set