Say I come across years (example 2001 - 2003) or time period and I want to put a text that kind of says "Increase in price due to some event" while the chart runs. Is this done through static text? Thanks.
Hello, annotation is only possible in the line and area charts at the moment. You can pass the annotation information into the line or area chart object in this format:
:parem events: dictionary to add additional context to the line chart. For example to indicate events in time. Example:
events = {
"{EVENT NAME}": ["START DATE DD/MM/YYYY", "END DATE DD/MM/YYYY"],
"Event 1": ["28/01/2017", "28/01/2018"],
"Event 2": ["28/01/2019", "28/01/2020"],
"Last event": ["28/05/2020", "28/01/2021"]
}
:type events: dict
I am thinking of a way to include more general annotations in the software. Maybe in the corner of the screen or something. But that will take a while.
Hello, annotation is only possible in the line and area charts at the moment. You can pass the annotation information into the line or area chart object in this format:
:parem events: dictionary to add additional context to the line chart. For example to indicate events in time. Example:
events = {
"{EVENT NAME}": ["START DATE DD/MM/YYYY", "END DATE DD/MM/YYYY"],
"Event 1": ["28/01/2017", "28/01/2018"],
"Event 2": ["28/01/2019", "28/01/2020"],
"Last event": ["28/05/2020", "28/01/2021"]
}
:type events: dict
I am thinking of a way to include more general annotations in the software. Maybe in the corner of the screen or something. But that will take a while.