const spec = {
type: 'line',
data: {
values: [
{
time: '2:00',
value: 38
},
{
time: '4:00',
value: 56
},
{
time: '6:00',
value: 10
},
{
time: '8:00',
value: 70
},
{
time: '10:00',
value: null
},
{
time: '12:00',
value: 94
},
{
time: '14:00',
value: 24
},
{
time: '16:00',
value: 44
},
{
time: '18:00',
value: 36
},
{
time: '20:00',
value: 68
},
{
time: '22:00',
value: 22
}
]
},
xField: 'time',
yField: 'value',
line: {
style: {
curveType: 'stepAfter'
}
},
invalidType:'link'
};
const vchart = new VChart(spec, { dom: CONTAINER_ID });
vchart.renderSync();
// Just for the convenience of console debugging, DO NOT COPY!
window['vchart'] = vchart;
- OS:
- Browser:
- Framework:
Version
no
Link to Minimal Reproduction
no
Steps to Reproduce
Current Behavior
Expected Behavior
Environment
Any additional comments?
No response