Web Connection
Chart on a Form
Gravatar is a globally recognized avatar based on your email address. Chart on a Form
  Luca
  All
  Mar 14, 2020 @ 07:14am

Dear Rick,
I use WC 6.05, please is possible to create a Html graph (like Excel's chart) and put it on a Html page?
Thank you very much

Gravatar is a globally recognized avatar based on your email address. re: Chart on a Form
  Tore Bleken
  Luca
  Mar 14, 2020 @ 07:38am

I copy the answer I gave you in another forum:
AFAIK there's no such thing as a HTML graph. I recommend that you create a chart in VFP using FoxCharts, save the result as an image file, and show that image file in the browser.

Gravatar is a globally recognized avatar based on your email address. re: Chart on a Form
  Harvey Mushman
  Luca
  Mar 15, 2020 @ 07:41am

if you know the client is running windows and they have excel on their machine, you could pass back an excel file and as I recall if you specify the response is of type application/excel or something like that it will automatically open excel and show the spreadsheet.

Otherwise the next best solution might be to pass the data back as JSON and create a spreadsheet looking Flexbox looking page with Vu.js to populate the fields.

One last option that I suspect will work but have never tried, Google Docs API. This would take more research but I think they have this functionally and you would just need to learn from them.

No simple solution...

Gravatar is a globally recognized avatar based on your email address. re: Chart on a Form
  Luca
  Harvey Mushman
  Mar 16, 2020 @ 12:42am

Thank you very much Harvey, I will try the two last possibilities.

© 1996-2024