-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Description
Relevant package(s)
- @carbon/charts
- @carbon/charts-svelte
- @carbon/charts-react
- @carbon/charts-angular
- @carbon/charts-vue
- Documentation website
Carbon Charts Version
1.22.8
Which bundler are you using?
Webpack
What happened and what did you expect to happen?
The ruler tooltip should come properly on the date axis
Issue 6 : The Ruler tooltip is not on the proper date axis..pdf
Chart data and options (automatically formatted so no need for backticks)

option.js
export default {
title: 'Time Series',
axes: {
left: {
stacked: true,
scaleType: 'linear',
mapsTo: 'value',
},
bottom: {
scaleType: 'time',
mapsTo: 'date',
},
},
curve: 'curveMonotoneX',
height: '400px',
};
data.js
export default [
{
group: 'Dataset 1',
date: new Date('2023-01-01'),
value: 10000,
},
{
group: 'Dataset 1',
date: new Date('2023-01-05'),
value: 65000,
},
{
group: 'Dataset 1',
date: new Date('2023-01-07'),
value: 10000,
}
];JavaScript console or build output (if relevant)
StackBlitz repro
No response
IBM Application/Team (if relevant)
No response
What priority level would this be in your opinion?
P2 (Medium)
Metadata
Metadata
Assignees
Labels
No labels