Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Date in Stock charts tooltip disappeared after upgrading to 24.1

Arun VeluAug 9 2024 — edited Aug 9 2024

Hello,

In the stock chart tooltip after upgrading to 24.1 and when I edited the chart (change any properties in it), then the tooltip automatically stops showing “date”. When I inspected the config object, I found two nodes getting added to "valueFormats" which is why date is not displayed: { "series": { "tooltipDisplay": "off" }, "group": { "tooltipDisplay": "off" }.

These gets added as soon as I change something in the stock chart after the 24.1 upgrade.

As a workaround I have added the below code to Initialization JavaScript Function to delete these two :

function(config) { // Check if valueFormats is defined if (config && config.valueFormats) { // Check and remove 'series' from valueFormats if it exists if (config.valueFormats.series) { delete config.valueFormats.series; } // Check and remove 'group' from valueFormats if it exists if (config.valueFormats.group) { delete config.valueFormats.group; } } // Return the modified config object return config; }

The workaround works ok, but needs to be fixed in the product. I dont know where to report this bug, so I have written this post.

Comments
Post Details
Added on Aug 9 2024
0 comments
155 views