Would you like to work on a fix?
Current and expected behavior
When updating from version 4.0.1 to 4.0.2, the method setDataTable(viewTable) causes an issue where the chart throws an error "setValue is not a function", the method setValue on the chartWrapper.getDataTable() object is missing. It was working in version 4.0.1 with setDataTable(dataTable). 2d91574#diff-434f94aad12e9fb6af07f08cc7e1b9a14c0bf0642f0ef026ad16ad949ff2e498R195
The issue since 4.0.2 and beyond
Reproduction
Initialize the Google Chart using googleChartWrapper.
Create a dataTable using chartWrapper.getDataTable();.
Attempt to call dataTable.setValue() method to update the chart.
react-google-charts version
4.0.1
Possible solution
googleChartWrapper.setDataTable(dataTable); on L195
No response
Would you like to work on a fix?
Current and expected behavior
When updating from version
4.0.1to4.0.2, the method setDataTable(viewTable) causes an issue where the chart throws an error "setValue is not a function", the methodsetValueon the chartWrapper.getDataTable() object is missing. It was working in version 4.0.1 with setDataTable(dataTable). 2d91574#diff-434f94aad12e9fb6af07f08cc7e1b9a14c0bf0642f0ef026ad16ad949ff2e498R195The issue since
4.0.2and beyondReproduction
Initialize the Google Chart using googleChartWrapper.
Create a dataTable using chartWrapper.getDataTable();.
Attempt to call
dataTable.setValue()method to update the chart.react-google-charts version
4.0.1
Possible solution
googleChartWrapper.setDataTable(dataTable); on L195
No response