Browsing "Older Posts"

Browsing Category "Oracle JET"

JET pie chart in APEX with absolute numbers as data labels

Von Tobias Arnhold → 5.02.2017
The new APEX pie charts only allows percent values as data labels. Luckily the APEX team added an great example in the "Sample Chart" application which shows how to add custom data labels including absolute values by adding custom JavaScript code.

For German applications I prefer to display 10k (10000) like this: 10.000.
Thanks to APEX and JET it is easy to implement.

function( options ){
    this.donutSliceLabel = function( dataContext ){
        var value_ger;
       
        value_ger = dataContext.value.toLocaleString('de-DE', {
                      minimumFractionDigits: 0
                    });
       
        return value_ger;
    } 
    options.dataLabel = donutSliceLabel;
    return options;
}



Info: Technical updates in the JavaScript area are not supported by APEX updates. For example: A future JET version could have some engine changes which will not accept my JS example anymore.


Oracle JET Charts - Do we need alternatives anymore?

Von Tobias Arnhold → 11.11.2015
After I looked through the chart types supported by the new Oracle JET framework I asked myself if we need other chart plugins like D3JS or RaphaelJS in future APEX releases anymore?

The answer is: Yes in special cases.

My supposition is that we can use all available JET charts in one of the next versions of Oracle APEX.

Now I will describe the "special case" with two examples where other charting frameworks still make sense:

All JET charts in APEX 5.1

Von Tobias Arnhold → 11.06.2015
I added a new feature request for APEX:
APEX 5.1 with support for all available JET Data Visualizations Charts

Description:
APEX 5.1 will include a new charting engine based on the new Javascript Framework "Oracle JET". Unfortunately APEX 5.1 will only include those charts from the JET website (http://www.oracle.com/webfolder/technetwork/jet/uiComponents-dataVisualizations.html) which are supported in the current version of APEX. For example the "Spark Chart" or the "Timeline" will not be part of APEX 5.1 This request has the purpose that APEX 5.1 will support every single available JET chart.

Available Charts:

If you like APEX and want to have more default charting functionality in the future then please support my request:
Feature AM06 - APEX 5.1 with support for all available JET Data Visualizations Charts


Was ist Oracle JET

Von Tobias Arnhold → 11.03.2015
Oracle JET ist das neueste Oracle Development Werkzeug mit dem Ziel moderne Webapplikationen auf Basis von Javascript zu bauen.

Die Grundlage dafür bildet ein eigens dafür entwickeltes JavaScript Development Framework das zusätzlich um mehrere mehr oder weniger bekannte OpenSource JS Frameworks (jQuery, RequireJS, Knockout und weitere) erweitert wurde.

Witzigerweise scheint Oracle JET nicht allein zu sein, denn die Abkürzung bezeichnet innerhalb des Oracle Toolsets zwei unterschiedliche Technologien.
Das neue Oracle JET (JavaScript Extension Toolkit) und das bestehende technisch komplett andere Oracle JET (Jumpstart Enterprise Toolkit).
Imho: Etwas unglücklich gelöst, da dadurch sehr viel Konfusion erzeugt wird. :)

Die JET Technologie richtet sich an erfahrene WEB Anwendungsentwickler die Erfahrung in Javascript besitzen müssen.

Fragen zur Lizenzierung werden hier beantwortet: Oracle JET FAQ

Oracle JET und APEX
Soweit mir bekannt, wird Oracle JET die neue Standard Charting Engine in APEX 5.1.  Wer sehen möchte wie diese Charts in Realität ausschauen, der findet hier sein Glück: Oracle JET Data Visualizations.
Außerdem können Oracle JET Lösungen in APEX Plugins verpackt werden und wären so leicht zugänglich für APEX Entwickler.

Weiterführende Links zum Thema:
Was ist JET I
Was ist JET II
Get Started
Elemente in JET
Demo Seite
Verwendete OpenSource Engines

Ps.: Auf der DOAG habe ich bisher keine Vorträge zu gesehen. Ich denke erste Erfahrungsberichte wird es auf der APEX Connect geben.