score:1
A little hacky way, but should work:
- set for both xAxis
width
, e.g. 400px - set for all axis (xAxis and yAxis)
right
, e.g. 20px
Now yAxis should have the same width and also the same extremes etc.
Another (and maybe even better) solution is to use two panes for Highcharts. It works exactly the same way as in Highstock, see example: http://www.highcharts.com/stock/demo/candlestick-and-volume
score:1
This is a late answer, but you can now do multiple charts inside the same Highcharts object. You wouldn't have to manually try to force the Y axes to align when using this method, as Highcharts would do all the work for you.
score:33
If you set the chart.marginLeft option, it will override the auto size labels so the Y axes become aligned.
Source: stackoverflow.com
Related Query
- Fixed y-axis label width in Highcharts
- How to set the width within axis label in highcharts
- Highcharts - Long multi-line y axis labels causing following label to be removed
- How to change axis label size when exporting in Highcharts / Highstock
- Highcharts axis label before first point
- Highcharts label format with tickPositioner in a datetime x Axis
- Highcharts - Bar - Setting the X axis width and the chart area width to be constant
- Setting Highcharts x axis label's width
- Highcharts show plot value on x axis label
- Highcharts - Highstock: fixed width intervals with scrollbar
- Highcharts x axis label text wrapping lost on setting label step
- Chart's width is impacting to my second x axis labels in Highcharts
- How to position axis label in highcharts
- Axis Label Alignment in highcharts
- Highcharts Omits X Axis Label
- Highcharts multiple x axis and yaxis. The width of the 1st x-axis is not in sync with browser resize
- Highcharts display label for pie chart using html table as data source
- How can I highlight every data point in Highcharts fixed width container?
- Highcharts - Bar chart show full label on Y Axis
- Highcharts drilldown to pie chart - Clicking on axis label with multiple series causes pie charts to overlap
- Highcharts set X axis label on tick
- HighCharts Axis Label Encoding
- Avoid displaying y axis label and points when there is no data: HIghcharts
- Highcharts - change group padding and column width on category axis
- Fixed width Font Awesome in HighCharts tooltip
- Need to join x axis and y axis label highcharts
- highcharts y axis label with offset is hidden when chart has no title
- Highcharts repeating same label value on Y Axis
- Highcharts export customize axis label and fontsize: No effect after migration
- Change X axis label on Drill Down using HighCharts
More Query from same tag
- Highcharts navigator padding generating new tick
- Formatting plot options for pie charts
- Highcharts Drilldown upto n levels
- Highcharts x-range how to show Data?
- Highchart.js drilldown adding to data dynamicaly without hardcoding.
- How to remove fine white line between halo and Highcharts pie chart
- How to use date range for highcharter columnrange plot?
- Creating a line graph with highcharts and data in an external csv
- HighCharts stack totals on top for percent stacking
- How to add border in polygon plot?
- How to generate highcharts chart from multiple local json files
- How to enable scrolling in advanced accessible charts in highcharts
- How can I add both plotLines and plotBands to a HighStocks graph using HighChart?
- Making two series point in opposite directions in highcharts
- Highcharts custom axis type (Weibull paper)
- How to get percentage axes in a Highcharts Treemap?
- Highcharts not displaying json data in php
- Highcharts how to create dot hover at end of line chart
- Regarding High charts for Angular 2
- Display multiple time series with rCharts hPlot
- Highcharts Angular navigator xAxis is not shrinking
- highcharts append to highcharts container div
- Highcharts displaying white space for bars when all values are zero
- Highcharts - gap between series in stacked area chart
- Which chart type should display following chart? gauge or column?
- Get x and y value of a series in highcharts when curve is being plotted
- Adding different style to a series in legend in Highcharts
- Highcharts - parse json series
- GeoJSON drawing incorrectly in Highmaps
- ColorAxis with HighChart not working as expected with different set of library