简体   繁体   中英

ORACLE APEX: Dynamically Change a chart

Say I have created a chart as a modal dialog using the create a page tool in apex for a movie database project. I have imported an existing table from sql database. This modal dialog is linked to an interactive grid. For the modal dialog I have created an hidden ID item (id of movies) and a name item looking like this: items

If I run the program it looks like this: movie_database

I now want to dynamically change the votes in my chart (Count(User_Rating)), which means instead of hard coding the where clause (id = 1) it should be something like

id = :P14_ID

But it didn't work for me: data

What I am doing wrong? Can anybody help me?

What you're saying isn't what you did (at least, that's what the last ("data") screenshot suggests). Should probably be

  • where clause: id =:P14_ID
  • order by: probably irrelevant, leave it empty
  • page items to submit: P14_ID

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM