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!

JQuery Sparkline Installation

Jason HJun 9 2015 — edited Jun 10 2015

Good Afternoon-

I am now at my wits end regarding implementing a Sparkline solution into my APEX application.  Here is where I stand:

  1. Using APEX version 4.0.2
  2. Downloaded the Enkitec Sparklines Plug-In
  3. Followed the DEMO found on their webpage using the embedded <span> tags within the HTML which calls that class id from a Dynamic Action that was set up

SQL>

SELECT 'Intake (Calls Received)' METRIC

,7684 AS MTD

,-0.17 AS MoMVAR

,46258 AS YTD

,-0.09 AS YOYVAR

,'<span class="intake-calls">' ||

      1 || ',' ||

      2 || ',' ||

      4 || ',' ||

      6 || ',' ||

      3 || ',' ||

      1 ||

'</span>' AS intake_calls

FROM DUAL

Dynamic Action>

Event: After Refresh (on region above)

Action: Enkitec Sparklines [Plug-in]

Fire On Page Load: Yes

Selection Type: jQuery Selector

Affected elements: .intake-calls

*****Result: Only the html text is being displayed.****

I am missing something, obviously.  My main questions are:

  1. Do I need to additionally install a JQuery Sparklines java file into my application?  I was looking at the one found on: jQuery Sparklines
  2. If #1 is needed for all this to work, does anyone have any resources that could guide me through such a process?

Thank you for your time reading this.

This post has been answered by Jorge Rimblas on Jun 10 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 8 2015
Added on Jun 9 2015
5 comments
303 views