8000 [Bug] updateSpec issue in common chart · Issue #3082 · VisActor/VChart · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Bug] updateSpec issue in common chart #3082
Closed
YuvrajKaushal/one-apiSecure
#5
@da730

Description

@da730

Version

~1.11.9

Link to Minimal Reproduction

null

Steps to Reproduce

  1. use common chart with multiple dataset
  2. only use data id in series.data and make data.values undefined
  3. 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:
image

image
image
data.values is undefind and caused an error in addVChartProperty in dataview
image

Expected Behavior

update the chart normally

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0