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!

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

Greybird-Oracle

Hello,

From the stack trace, it looks like you have a field of type HashSet that is persistent, and the HashSet is being changed in one thread of your app, and written (PrimaryIndex.put) by another thread in your app.  In other words, one HashSet instance, or the entity object that contains it, is being accessed by multiple threads, and one thread is changing it while another is reading it.

Note that this has nothing to do with database access or record locking. It only involves access to the HashSet (or entity object) instance. Normally, entity objects are not shared between threads. Are you sharing them explicitly between threads?

--mark

1 - 1

Post Details

Added on Mar 10 2021
2 comments
406 views