Adding a hierarchical Gantt-Chart in Oracle Apex - oracle-apex

I'm trying to add a Gantt-Chart (Oracle JET) with hierarchical data to my Oracle Apex (19.1) Application just like the example in the Cookbook (Hierarchical Tasks) by using the built-in implementation in Apex.
In this example, a JSON-file containing the tasks, which can have children-elements called subTasks gets parsed and rendered. However, I'm getting my data from a local database.
Is this feature possible in the Apex-version of oracleJET? Or do I have to implement the Gantt-chart from OracleJET as if it was a 3rd-party-solution?
Because I am able to create a normal Gantt-chart without a hierarchy, however, I haven't quite figured out, how to implement one with a hierarchy.
According to the documentation of ArrayTreeDataProvider, the default-keyword for child-elements to be located in is 'children'. But it doesn't matter how I format my data (selecting it from the database with json_object() and json_arrayagg() ), it only renders the 'parent' elements.
Does anyone have already implemented this/a similar functionality into an Apex Application and can help me out?
Thanks a lot in advance!

When I have had trouble defining a JET chart within APEX, I have always found it helpful to install the Sample Charts app from the App Gallery. Oracle does provide some sample Gantt charts with and without a hierarchy on Page 3 (in my instance of APEX 19.2) of the sample application.
Without knowing how your data is structured, we cannot provide an exact solution to your issue, but if you review the setups in the sample application, it should help you out.

Related

Can I create a custom Chart in Apache Superset?

I have been trying to customize Superset as much as possible and have succeeded to some extent. What I want to do now is create a custom chart based on my requirements, I have combined two big numbers to look like this using CSS properties but it's interfering with a lot of other properties of the charts in a given dashboard.
This is nothing but a set of two "big number" chart combined together with custom CSS. What I want to achieve is a customized widget having some special design or formatting. In simpler words to achieve the same below but with some word in between like:
30% Budget is providing me 70% output. Has anyone tried any hack to do that?
as an update, recently Preset has released a tutorial of just how to do that. Basically with the new viz plugin architecture you can use any js library and do any customization you want, and integrate it to Superset. They also talked about the new architecture and did a live demo, the video is here.
Yes, you can create a custom chart in Superset.
You can follow some existing chart additions for example:
https://github.com/apache/incubator-superset/pull/3013
to see how a new chart is developed and integrated in superset.

Oracle APEX Application Builder's Search Application Functionality

Does anyone know how "Search Application" functionality of Oracle APEX's Application Builder implemented. Are there any APIs that developer's can take advantage? I would like to search for a text in apex application source code.
Any suggestions would be of great help.
You can use Oracle Text to help find and markup results for hetergenous data. Here is my old session on the topic, and I've seen a few others around.
https://www.slideshare.net/ScottWesley/oracle-text-in-apex
Oracle's learning library:
https://apexapps.oracle.com/pls/apex/f?p=44785:24:6694877585964::NO:RP,24:P24_CONTENT_ID,P24_PREV_PAGE:8961,2
The results probably use the detail view of an IR, or a template defined for a classic report. In 5.2 the search feature uses different technology - Spotlight search.
APEX metadata can be found in a number of dictionary views, depending on what source code you're looking for. See apex_dictionary view.
Update Oct 2018
Daniel H has created a new plugin, leveraging the spotlight search functionality available in the 18.x app builder.
https://github.com/Dani3lSun/apex-plugin-spotlight

Calling r scripts from web page and displaying report to web page

Friends
Sorry for a general question, but I'm lost in the various discussion threads and was hoping for a pointer to the appropriate documentation:
I have a php/webinterface to a database created with rackforms and MySQL. I've successfully embedded r-analytics in this site and can generate tables and graphs but am having trouble displaying the tables and graphs in the web interface. I found shiny/knitr and figured out how to generate a nice summary page using shiny/knitr/rmarkdown and get the html output. But I can't find any instructions on how to call and display this from the data website I created! I'd like to call an r-script that runs a .Rmd script (or similar) and then display the generated tables and plots on the interface. Alternatively, I could link to a page in .html, but the display needs to run the analysis each time its called since the data is live.
I'm sure there must be some description on how to do this somewhere, but I can't find anything that quite gets you all the way. Any pointers out there? I'd appreciate it.
Cheers
Jon

Leveraging Ember with Enyo?

I am starting to evaluate frameworks for a HTML5 app. I really like the enyo model for developing an app. However, my app needs an object-relational mapper (ORM) for local storage and some way to update the UI based on changes in the ORM data.
It looks like Ember has some great linkages for the ORM and update parts.
Has anyone used these two together? Does it makes sense or do either of them (by themselves) already address the entire problem space?
Thanks in advance,
Charlie
I've not tried to integrate them directly yet, but I think that the Enyo event model would work well here. Have the ORM live as a top-level component in your application and have it broadcast data change messages into your tree of components using enyo.waterfall() or enyo.waterfallDown().
I do something similar in a cryptogram game I'm working on where I use that mechanism to broadcast information about the player's guesses into the view tree where individual cells use them to modify their display.

statistical data to HTML tables (filter/sort/aggregate) and charts using django

I have lots of tables with statistical data (environment related) and wondering if there are any existing django app that will let me quickly produce charts i.e. sort/filter type of functionality. is there any short cuts..
This data will only be used during a temporary event for analyst, so it feels like a lot of tedious task to deal with..
Thanks for any pointer. Google doesn't provide much help thought you guys might know such app?
It's probably better to do this on the frontend using a javascript plugin. See the jQuery plugins tablesorter for sorting tables and flot for generating charts.