score:1
That behavior is related with tickInterval
and tickPixelInterval
properties. You can change it for example by increasing tickPixelInterval
or by setting tickAmount
to 2
.
tickInterval: number
The interval of the tick marks in axis units. When undefined, the tick interval is computed to approximately follow the tickPixelInterval on linear and datetime axes.
yAxis: {
tickPixelInterval: 73,
...
}
Live demo: https://jsfiddle.net/BlackLabel/do46qhgx/
API Reference:
https://api.highcharts.com/highcharts/yAxis.tickPixelInterval
score:0
I ran your fiddle. At first I didnt know what you meant by padding but will deduce you are referring to the range of the y-axis: it's different for the two divs. You can explicitly set the max of the y-axis range in your params,
"yAxis": {
"min": 0,
"max": 100,
which would resolve your problem, in the sense that the two charts would use the same range. As a working solution, you could query the data to determine what the max would be in for any situation, and then round to 50 increments or another suitable increment based on your needs, then use that as the max.
Source: stackoverflow.com
Related Query
- Why does highchart add a padding for a certain bar chart?
- HighCharts-Removing the padding for a bar chart
- Highchart : Add data padding for left stepped area last point
- Android Highchart bar chart add a text below a bar
- Why does my Highchart look different when I transfer my code from Jsfiddle to my server?
- How to add the "isSum" bar in Highchart Waterfall chart in R?
- x-axis, y-axis lines does not appear, when I include 3D chart library of HighChart in my code
- How to add negative area or background for a specific bar or pie chart in highcharts?
- Highchart add a text under single bar in bar chart
- Add average to highchart dynamically by zoom level for every series on chart
- Why can't I get individual bar colors in a candlestick chart in highstocks.js for more than 55 bars?
- Highchart bar chart handle over lapping data lables for series
- Dynamic add series and categories for highchart drill down chart
- Highcharts percentage of total for simple bar chart
- HighCharts - Y-Axis padding in a bar chart
- How to add a plotline to a bar chart in Highcharts?
- How to apply borderRadius only for top side of Column or Bar in Highchart
- In high chart how to add event for label click
- How can I prevent my HighChart bar chart from being inverted?
- How to add box shadow for highchart chart?
- How to use add series and update methods in the high chart wrapper for angular?
- Importing JSON file into Highcharts for Bar Chart Visualization
- Fire click event on a highchart column drilldown chart on clicking x axis for drill down reports
- How to add Highchart Bar lines and lables?
- HighChart- Plot Stacked Bar Chart on Status for Every Minute
- Use MySQL data as the chart data for the cakephp highchart plugin
- How to dynamically add point placement and point padding in fixed column chart (highcharts)
- How to add Legend in highchart compare stock chart
- Showing marker for separate values only in line chart in HIghchart
- How to add a horizontal line in Column bar chart in Highcharts plugin?
More Query from same tag
- HighCharts. Angular. Redraw Chart with new Series on Event Click
- Highcharts plot MACD + EMA + Volume
- Highcharts: get index of the selection event
- Highcharts yaxis higher values displayed lower
- How to prevent column overlap in Highcharts
- HighCharts - Remove space between series on stacked bar
- Show customized Mouse over on a bubble chart in Highchart JS
- How to hide one series data info in tooltip using highcharts
- Highcharts Columns with empty columns
- Dock highcharts legend to very bottom of chart
- highcharts Export XLS files on client side
- How to change tool tip using High Charts
- How to display positive and negative values in positive side of graph in Highchart?
- How can i remove extra space in mobile app?
- Combine PieChart with Map
- Why does GeoJSON map looks stretched in Highmaps for WSG84?
- Highcharts datetimex axis incorrect start time and interval
- Highcharts - Display legend for Pie chart in two columns
- Drilldown for lines in Highcharts
- Highcharts how to add treemap upon click event on line chart?
- Semi-circle donut pie chart with labels (data names) and %-ages on the pie ... and data numbers on mousehover
- Highcharts not working in IE8
- Highcharts two date compare
- Reports with parameter working fine independently but not functional in cockpit (composite document)
- designing web app using nodeJS and HighStocks (or Google Annotation Time Line)
- How to use a multi-layer map with countries and lakes with Highmaps?
- How to display stack total just below the stack columns and not inside?
- HighCharts wrong xAxis label
- Highcharts, how to put markers on min/max values on yAxis
- Highchart 5: Pie Drilldown labels and back button not visible