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!

Dynamic Ymax in Apex chart

StrelokJun 14 2019 — edited Jun 19 2019

Hello everyone!

Can't solve the follow problem: JS function on the page ("Function and Global Variable Declaration") should set maximum Y value for charts after page load. It works in case I do it from dynamic action of button. But don't work in case of After Refresh dynamic action for region.

I can change other attributes like 'zoomAndScroll', 'stack', 'orientation', but not 'Ymax'.

There are no problem if I use:

setTimeout(function()

            {

              $(staticid).ojChart( { 'yAxis':{'dataMax': value} } );

            }, 2000);

But this is bad practice to rely on load time. May be somebody have already solved such problem?

Comments
Post Details
Added on Jun 14 2019
3 comments
990 views