Jump 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.

Web viewer charting example again...

Featured Replies

Hi Guys,

Anyone know if I can scale the charts down.

I've gone into the vw.html file and edited the width and height, which seems to have scaled down the graphics to the size I want but I cant seem to increase the fontsize.

I have a calc that contains type=intermpie, which seems to display my chart. When I change the type to pie, the chart dissapears (I think I n eed to use pie to get the fontsize to work as this is used in the advanecd pie chart calc.)

Any ideas why changing intermpie to pie stops the charting example from working...... I can post the code if that helps once I've got access to my computer.

  • Author

Hi Guys,

Heres the code Im aving trouble with:

This code works (in the sense it produces me a piechart but ignores increasing the fontize)

Let ( vP = Substitute ( Get ( FilePath ) ; Get ( FileName ) & ".fp7" ; "WV.html" ) ;

If ( Abs (Get ( SystemPlatform )) = 2 ; vP ; Substitute ( vP ; "file:/" ; "file://" ) ))

&

"?type=intermpie" &

"&title=" & " I think Oakham is a good School" &

"&labels=" & "Strongly Agree" & "," & "Agree" & "," & "Disagree" & "," & "Strongly Disagree" &

"&amounts=" & Questionnaire::Count Q1 1 & "," & Questionnaire::Count Q1 2 & "," & Questionnaire::Count Q1 3 & "," & Questionnaire::Count Q1 4 &

"&fontsize=20"

When I change the type to pie (which I believe is used for the advanced version) I just get a Grey circle) What am I doing wrong...... this calc is pasted straight into the webviewer.

  • Author

Hi Guys,

Ive managed to get my calculation working now.

I would like to know if anyone knows where I can get a list of the parameters the Web viewer charting example uses?

Im using the advanced option,and the ones I know that already exist are:

"&title="

"&amounts="

"&fontface="

"&colors="

"&fontsize="

"&effect="

Im looking for something that will either allow me to scale down the piechart, or something that will allow me to line spacing in the text (seeing as though I can increase the font and scale down the chart in the vw.html file)

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.