score:7
Accepted answer
you could do it like button4
here :
var chart = $('#container').highcharts();
var el = $('.chart-inner');
el.css('width','100%');
chart.setSize(el.width(),el.height(),true);
Source: stackoverflow.com
Related Query
- how to reset Highchart chart width in percentage on Button click
- How to zoom chart line same as legend hover and reset automatically on button click in highcharts?
- How to export a Highchart chart to PDF thanks to a button outside the chart?
- Highcharts chart click event fired on click of the reset zoom button (bug?)
- Highcharts : Chart with drilldown how to obtain click event of drill up button
- highcharts how to catch and insert logic in click reset zoom button event
- How to show an empty chart in beginning and populate values on button click
- Highcharts select chart by button click and adjust width
- How to select or highlight the x axis border on click of Y axis label in gantt chart highchart
- How to get chart data in tabular form same as 'view data table' on click a button
- how to call button click event on click of slice of piechart using highchart
- How to open new chart to the adjacent <div> on bar click in highchart
- How to display the value instead of percentage in a pie chart using jquery Highcharts
- Remove Export and print button plugin on highchart chart
- How to create a new Highstock chart with new Highchart and not jquery?
- In high chart how to add event for label click
- How can I extend the lines of this Highchart series to the edges of my chart area?
- How can I prevent my HighChart bar chart from being inverted?
- How to call typescript function inside High chart click event
- How to Add button in React Highchart Tooltip?
- How to Click on Highchart Elements During Automation
- How to disable Print Chart button when there is no Chart present
- Highchart heatmap: select all cells on click of button or checkbox
- Fire click event on a highchart column drilldown chart on clicking x axis for drill down reports
- How to add Legend in highchart compare stock chart
- HighCharts: How to Determine on Click Event what Data Grouping the Chart is Currently In?
- highcharts- stacked bar, how can I make the chart cover the width 100%?
- HighChart : plot line click event for multiple chart
- how to change color of line chart in highchart based on a categorical column in r?
- Highcharts: How to change or redraw a chart when a click event occurs on an another chart?
More Query from same tag
- Clickable Bars in js Highcharts?
- How to align the legends in reactjs Highcharts
- Transfer Multiple Textbox value into Pie Chart slices(Percentage)
- HighCharts - hide date on x-axis and have only hours and minutes
- PHP add another array
- radar chart with boxplot/ Violin plot
- SignalR update breaks layout and scripts on page
- Highcharts pie slice linear gradient
- changing intervals in X and Y axis in high chart (line chart)
- Price line disappears in HighChart
- Getting information from one Rails server to Another
- Step serie for navigator
- Tooltips on Highmaps drilldowns and inconsistent styles?
- Highcharts bubble chart with updating default colors
- Display legend and colorAxis at different positions in Highchart
- Resizing HighCharts Chart Causes Changes to Max Y Value
- Grouped and stacked columns with shared series
- Highcharts, get the percentage in relation of a total numeric value
- HighChart Line Draw issues(How to draw contineous line between 2 points )
- How to overlay two kinds of world maps over each other on Highmaps
- how to find title in highcarts
- Highchart's heat-map plot not rendering correctly when x-axis is in time format (HH:MM)
- Increase width of Xaxis title in bar chart in highcharts
- Highcharts: How to Place Y-axis title next to first marker?
- Higchahrts click entire column to trigger point click event
- Download Highcharts Generated Table into R
- Highcharts packed bubble chart not working for negative values
- ReferenceError: Highcharts is not defined while including html file (with JS and CSS ) into other html file
- R - Highcharter how to add horizontal dashed line?
- Is there a way to disable mouseover on highcharts entirely?