Hi Formspider team.

I have a chart in a panel of my application and data used are updated online. The scenario is: 1) I run the panel with the chart and shows, for instance, a bar with value 3; 2) I go to another panel and I create a new line in a table. This table is source of data for chart; 3) When I go back to the panel with chart, the value is still 3. I know the in table the value is correct, but it seems the datasource doesnt reexecute.

In my procedure I set bind variable and reexecute the query using api_datasource package.

if I do a logout and login again, when I run the panel, the chart is correct.

How can I do the datasource is really reexecute (refreshed values)?

Thanks a lot Ricardo

asked 13 Mar '14, 20:04

Ricardo's gravatar image

accept rate: 0%

Hi Ricardo,

After the datasource execute_query, just call api_chart.refresh to refresh the chart.

best regards.


answered 15 Mar '14, 16:34

Michiel%20A's gravatar image

Michiel A
accept rate: 13%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 13 Mar '14, 20:04

Seen: 2,001 times

Last updated: 15 Mar '14, 16:34

© Copyright Gerger 2017