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!

APEX 5.1.1, JET Charts, how to create a dynamic line chart (or scatter chart with lines)

ulrike_brennerApr 14 2017 — edited Apr 19 2017

Hi all,

I have the request to show measured values depending on the time of measurement.

That means my chart shall show on the x-axes the time (00:00, 04:00, 08:00, 12:00, .. 24:00) and on the y-axes the measured values.

There may be 0 to many measurements per day. The values of one day should be connected by a line.

The customer defines how many days are shown (usually one month).

I want to create a line chart with a dynamic number of series (one series per day). But as far as I know it is not possible.

So I'm trying to fake this with a scatter-chart, where I group the values per day, but here I don't know how to draw the lines.

This is how it should look for 3 days:

Screen Shot 2017-04-14 at 14.59.23.png

You can see the scatter-chart on apex.oracle.com

WS: UB_DEMO

demo/demo

app 117288, p13

Now I'd like to have a line between all values of group 1201 (that means the 12.1.2015) and one line for 1301 (=13.1.2015) and so on.

I think the x-axes can be manipulated by js (400-> 04:00, 1200 -> 12:00), but I have no idea how to draw the lines.

Does someone have an idea how to implement this?

Thanks in advance!

Best Regards

Uli

This post has been answered by fac586 on Apr 17 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 17 2017
Added on Apr 14 2017
4 comments
3,037 views