Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

calculation help needed for google charting

Featured Replies

I'm using google charts to create a chart based on data in the foundset. Using webviewer, I have a url such as:

http://chart.apis.google.com/chart?

cht=lc&chs=450x330&chd=t:7,18,11,26,22,11,14&

chxr=1,0,30&chds=0,30&

chco=4d89f9&

chxt=x,y&chxl=0:Mon|Tue|Wed|Thu|Fri|Sat|Sun&

chls=3,1,0&

chm=d,4d89f9,0,0,12,0|d,4d89f9,0,1,12,0|d,4d89f9,0,2,12,0|d,4d89f9,0,3,12,0|d,4d89f9,0,4,12,0|d,4d89f9,0,5,12,0|d,4d89f9,0,6,12,0&

chg=0,6.67,5,5

where I have substituted my data fields. the problem is the chart point markers chm=. I need to specify each marker counting up 0,1,2,3.... in the url above

chm=d,4d89f9,0,0,12,0|d,4d89f9,0,1,12,0|d,4d89f9,0,2,12,0

these are the the first 3 markers. as you can see the 4th character in each marker point goes up +1 for each data point. (wow this is hard to explain).

all the way up to my foundset count. sometimes I'll have 3 in my foundset, sometimes I'll have 20. How can I append a series of data to my url (based on the count of my foundset). I am thinking of how a loop works in a script where you have a variable = n, add 1, loop, exit loop if n=foundset count. How can I achieve that within a calculation (result is basically text...the url... which is then the webviewer).

thanks in advance!!!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.