Description
Version
~1.11.9
Link to Minimal Reproduction
null
Steps to Reproduce
- use common chart with multiple dataset
- only use data id in series.data and make data.values undefined
- call updateSpec using the same spec as parameter
const spec= {
type:'common',
data:[
{
id: 'dataset1',
values:[{
...some data values
}]
}
],
series:{
data:{
id: 'dataset1' //only set data id, don't assign values
}
}
}
Current Behavior
This is a bug in updateDataViewInData:
data.values is undefind and caused an error in addVChartProperty in dataview
Expected Behavior
update the chart normally
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response