score:2
Running your JSFiddle and changing to "Option B" and back to "Option A" does nothing simply because there is no change to the data. Both options (in the case of "Option C" and "Option E") set the data to the exact same values as the values that are present when the chart is created.
If you instead run the JSFiddle, set "Option D" and "Option F" before you start switching between "Option A" and "Option B" you will see that the code is clearly working as intended.
This can be confirmed by changing any one number in this if-branch:
if (selVal == "a" && selValB == "a" && selValBB == "a") { ...
And/or this else if-branch:
else if (selVal == "b" && selValB == "a" && selValBB == "a") { ...
As shown in this JSFiddle example, which has only changed two numbers in the described cases.
That being said, this clearly illustrates that this code needs to be tidied up.
Source: stackoverflow.com
Related Articles
- Highcharts - setData() not updating Column Graph Correctly - stumped
- Disable-Click on Legend in HighCharts Column Graph
- Highcharts - update column graph with setData() not working
- Overlapping and rounded stack in stacked column graph in Highcharts
- Make stack label disabled for a column in stacked column graph in Highcharts
- Highcharts Graph displays correctly ONLY on Window Resize
- Highcharts area graph animation on setData
- Highcharts Graph : Spline updating each second needs a pause button
- Updating Highcharts column chart based on drop down-menu
- HIghcharts column graph with more than 50 data points
- Show data labels on top in stacked column graph in highcharts
- Updating single category data in Highcharts column chart
- How to show overlapping in various columns of highcharts column range graph
- Stack labels not rendered correctly when exporting Highcharts graph
- Highcharts Negative Values Column Graph Bottom Radius
- Updating column zIndex on legendItem mouseover/mouseout in Highcharts
- highcharts - Not able to switch between bar to column or vice versa graph type in drilldown
- Highcharts error #15, graph is displayed correctly
- Multiple y-axes for column graph categories in highcharts
- Highcharts : Disable top spacing from column graph
- Creating a grid-like column graph in Highcharts
- Highcharts Column Graph with background color?
- Show average in highcharts graph as column
- How to change color of single column in Highcharts column graph when data is in CSV form?
- highcharts graph with one regular column and one stacked column
- Highcharts column graph custom legend formatting not showing legend symbols
- HighCharts Bubble graph JSON as data source
- How to modify the code so that Highcharts graph does not cover fixed navigation bar at the top of the page?
- drilldown feature with url property for column graph in Highcharts
- Highcharts creating series for column graph
- Get y point from x given point hightcharts
- How to Hide the bottom Line in HightCharts (Splin Chart model)I am using in ios
- very simple highcharts column graph with two arrays
- How to add series to an empty chart without breaking the plot border in highcharts
- Angular Highcharts - chart reference is gone after click
- Minimise "Forced reflow"
- JSON data from URL
- Highcharts : smooth / anti-aliasing line
- Getting user feedback by clicking on a data point/tooltip in Highchart JS
- Multiple xAxis on Highcharts
- Remove the categories text under the bars on Highcharts chart
- How to get rangeSelector to work with HighCharts
- Highcharts - Display only year in x axis and stop auto formatting
- How to Highcharts max height based on width of bars in chart
- Set background color to HighChart xAxis labels
- How can I render a watermark image in my highchart from local directory?
- How to get my categories with date in xAxis?
- Content of highchart tooltip getting overflow
- Using Highcharts and displaying a message over or on the chart when there is no data
- Highcharts x-axis labels not starting on bounds