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: How to include text event to the left of chart when exporting
- How to replace x-axes with our own timestamp data from API in Highcharts using highstocks
- Highcharts export only renders one quarter of the image
- Highcharts JS in IE 7 doesn't appear
- Highcharts wrap is not a function
- HighCharts fitting long Y-axis labels
- Highcharts - Show Year label in x-axis on change
- add chart using highcharts to angular via highcharts-ng directive
- Highcharts: Too many datapoints in scatter - only circles get rendered
- Highstock Column Chart dragging issue
- Highcharts custom tooltip
- Highcharts overflowing parent div Angular
- Move Highstock columns between x-axis ticks
- display two charts with IE
- high chart date format in x-axis
- Highcharts renderer.text as export only
- Highcharts how to draw dual axis negative stack bar?
- Highcharts - Include several charts in one container
- Highcharts - Unable to see all labels on the bar charts
- Highcharts: Set y Axis Max and Min dynamically, and not at creation
- Highcharts :: Need to split y-axis from primary body of chart. Can I display this axis separately from the Highchart?
- How can I change a Highcharts bar color based on a third field?
- Highlight a region in scatter plot using Highcharts
- HIghcharts: Bubble are not showing up beyond scale
- Pie Piece Too Small
- Highchart Annotation Scroll
- Change Highcharts sparklines marker colours
- Suggestions on getting Highstocks graph images sent to server
- How to properly set datetime as x-axis value on Highcharts(React JS)
- Change Highcharts column color for different parties