-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mdd timeline sample #21
base: 24.1.x
Are you sure you want to change the base?
Conversation
mdd-add-timeline-sample
update sample
Add Timeline Sample
**Does Not Work** TimeXAxis causes series not to render. CalloutLayer's xMemberPath causes annotation not to render.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix issues listed in comments below.
{"Date": "2017, 3, 19", "Year": "19 March, 2018", "Value": 5, "Details": "The EU and the UK agree on a transition phase"}, | ||
{"Date": "2018, 11, 25", "Year": "25 November, 2018", "Value": 5, "Details": "Draft withdrawl deal agreed"}, | ||
{"Date": "2019, 10, 29", "Year": "29 October, 2019", "Value": 5, "Details": "EU heads of state and government approve postponing the Brexit date"}, | ||
{"Date": "2020, 12, 31", "Year": "31 December, 2020", "Value": 5, "Details": "Transition period ends"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the Year data column should display months in short format, e.g. NOV for November
"calloutOutline": "#EC0D00", | ||
"calloutBackground": "transparent", | ||
"isCalloutOffsettingEnabled": false, | ||
"textStyle": "font-size: 25px", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using such large font size will make callouts overlap when the chart is small in docs
please change it to smaller font, e.g. 0.8rem
"series": [ | ||
{ | ||
"type": "LineSeries", | ||
"name": "LineSeries1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing title setting
TimeXAxis sample doesn't work.
xMemeberPath on callout layer breaks the annotation.