Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Please ask technical questions in the appropriate category. Thank you!

How to customize ojet Chart highlight labels hide Several labels

User_RPM7NMar 10 2021

We would like to highlight a specific label of our X-Axis
Actually we highlight our selected Object of our charts with the following call
function( options ) {
options.dataFilter = function( data ) {
for (var i=0; i <data.series[0].items.length; i++) {
if ( data.series[0].items[i].name ==$("#P1_OBJECT_NAME").val()) {
data.series[0].items[i].pattern = "smallChecker";
}
}
return data;
};
return options;
}
we have lots of values and so the loading process take too much time ( only caused by this function!!!!, not caused by the SQL!!!!)
2 Reasons why we would like to change our highlighting:

  1. Performance like mentioned above
    2)We have stacked bars and already lots of colors
    ==========================================================
    Our question:
    -------------------------
  2. Is there a way to highlight a label after Refresh
    OR
    in Advanced JavaScript Initialization Code without performance problems
  3. In some cases we we like to hide negative labels of our Y-Axis. Is the a way after refresh or in the
    Advanced JavaScript Initialization Code
    MANY THANKS in advance and greetings from Munich
This post has been answered by Oleh Tyshchenko on Mar 11 2021
Jump to Answer
Comments
Post Details
Added on Mar 10 2021
2 comments
196 views