Hi,
the Tooltip from the rolloverModifier shows for the Open-Values the Label “Open”.
I would like to be able to change that. There might be serveral reasons for that. Maybe the shown data are not “openValues” or the word “open” needs to be translated into another language.
I managed to edit the title of a FastCandlestickRenderableSeries by setting a title and get it into the variable like this:
rolloverTitle = newtitle;
renderableSeries0.rolloverModifierProps.tooltipTitle = rolloverTitle;
unfortunately i did not find a way to set the name/label for the open-,low-,close-, or high-values of this Series.
Can someone give ma a hint how to do this?
- Sebastian Affeld asked 7 months ago
-
Hi Sebastian, as well as Jim’s answer below: I’m currently working on updating the RolloverModifier & CursorModifier docs to show how to do customisations and templating of tooltips. Adding in easy support for localisation is a good idea – this should be exposed. I’ve logged task https://abtsoftware.myjetbrains.com/youtrack/issue/SCJS-1600/Add-solution-for-Localisation-in-Tooltips-Annotations-Axis
-
Thank you.
- You must login to post comments
Hello,
You can add a custom tooltip as described in the “Customizing the Tooltip Content” section of Rollover Documentation,
and apply localization logic there.
Here is an example Using Rollover Modifier Tooltips
- Jim Risen answered 7 months ago
- You must login to post comments
Please login first to submit.