I have a grid that is database driven, and when a row is selected I want to take some columns from that row that contain numbers and set them to the chart "values" property. I have done this successfully, however the problem is I am not sure how to refresh the chart in JavaScript (i dont want to return to the rpg pgm).... Is this possibles? Any ideas?
Thanks,
Paul K
Chart Refresh
-
- New User
- Posts: 12
- Joined: Mon Dec 19, 2016 12:25 pm
- First Name: paul
- Last Name: kenosky
- Company Name: keystone auto
- State / Province: Pennsylvania
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Chart Refresh
Applying the field type property should cause it to re-draw the chart.
Code: Select all
// Do this after all other properties have been updated:
applyProperty("my-chart-id", "field type", "chart");
-
- New User
- Posts: 12
- Joined: Mon Dec 19, 2016 12:25 pm
- First Name: paul
- Last Name: kenosky
- Company Name: keystone auto
- State / Province: Pennsylvania
- Contact:
Re: Chart Refresh
It worked!
Thanks,
Paul K
Thanks,
Paul K
Who is online
Users browsing this forum: No registered users and 2 guests