score:1
Accepted answer
The additional padding on y-axis is not added when you update axis extremes. As a solution change by 0.5
calculated extremes and disable properties: startOnTick
, endOnTick
.
thisHeatmap.yAxis[0].update({
min: minValue - 0.5,
max: maxValue + 0.5
}, true);
yAxis: {
...,
startOnTick: false,
endOnTick: false
}
Live demo: https://jsfiddle.net/BlackLabel/cjsmn0re/
API Reference:
https://api.highcharts.com/highcharts/yAxis
https://api.highcharts.com/highcharts/series.heatmap.rowsize
Source: stackoverflow.com
Related Query
- Heatmap yAxis change does not work as expected
- highcharts-export-server yAxis formatter does not work
- HighCharts: Updating stops in yAxis does not work
- Highcharts code with same set of code/data works in PHP but does not work in JSfiddle
- Highcharts does not work with wicked_pdf
- Highcharts reflow does not work on class selector
- Second yAxis does not scale according to series in Highcharts
- Tooltip.followPointer does not work in highcharts 3
- setInterval in Angular JS for HighCharts-ng does not work
- Generating Highcharts from MySQL data with PHP does not work
- tooltip in highcharts does not work properly
- tool tip does not work correctly if text is more in highcharts
- Function does not work on first render instead the series is generated after the subsequent renders
- Highcharts-Vue chart options does not change values after it is set
- Highcharts (highstocks) tooltip does not work on latest firefox 64.0 with useHTML=true
- Highchart plugin does not work
- Multiple axis does not work on Highcharts 4
- Highcharts - colorByPoint does not work
- Synchronized HighCharts does not work when charts have different width
- Highcharts heat map does not work with a wide range of data values (min: 0, max: 5,000,000)
- Highcharts heatmap does not render correct colours according to specified colour stops
- Navigator in highcharts graph does not work
- Highcharts with angularjs drilled down does not work
- x-axis, y-axis lines does not appear, when I include 3D chart library of HighChart in my code
- Highcharts: Marker radius does not seem to work
- ajax call does not fire jquery code
- HighCharts delayForDisplay attribute does not work
- Highchart Stock gui does not work in Angular 8
- Decimals on yAxis are not being displayed, even if that same code works on highcharts jsfiddle
- Highchart in js does not work in Vue.js
More Query from same tag
- Uncaught TypeError: Cannot read property 'mouseIsDown' of undefined
- Highcharts- this.category returns undefined
- Highcharts Drilldown How Do I Keep Drilldown Same Size
- customized tooltip and linking values to formfields -- highcharts / columnrange
- highcharts reset zoom button
- How to draw a pie with logarithmic scale in HighCharts?
- Parse dates from an HTML table in Highcharts
- Ember.js , HighCharts - accessing JSON data from controller
- HighChart xAxis and data discrepancy
- Highcharts: To achieve exploded sections behaviour in Sunburst chart similar to pie charts
- Highcharts columns(min,max) colors
- Highcharts datetime axis overlap with a long time series
- Highcharts: Disconnect line when there's no data for position
- Highcharts : Showing wrong color in data series
- Highlight highcharts bars on mouse hover events
- Basic Javascript: How can I link my HTML and Javascript on a Highcharts example?
- LINQ SQL Method not Filling Highcharts
- Displaying excess number of columns in heat map in highcharts
- Highcharts pie with a single value in %
- PHP mySQL Highcharts Json Multiselect
- How do I add an event listener to a Highcharts object *AFTER* I've created it
- Remove Highcharts chart Y axis labels when legend clicked
- Highcharts mouse tracking behaviour with multiple arearange & line series
- How to remove the gap between yAxis and data?
- Maximum value for gauge being ignored in highcharts
- Specific case of Timeline chart
- SVG javascript chart scraping
- Highcharts - Where is the location of 'back to {series.name}' in Yii2?
- Highcharts- How to style the colums to have gradient colors
- Multiple images for Highcharts X Axis Labels