Skip to main content
Question

Htmlreportgenerator charts inside infobox

  • January 30, 2018
  • 2 replies
  • 15 views

Forum|alt.badge.img
  • 12 replies

Hi,

I just yeasterday started to play with htmlreportgenerator and html as format is new to me also.

After playing one day with it, I managed to make with small effort make point in map and make some charts out. Now was thinking if there is some "easy" way to make those together?

I have about 300 points in map what show their label when they are clicked. How much html_content I would need to modify to make charts pop out instead of label? All of these points have their own charts. To make it simple.. 300 points and 300 charts. How to make them together? :)

Aki

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3703 replies
  • January 30, 2018

I've dabbled a bit with this myself and I think you'll gain a lot of flexibility by generating HTML yourself and use Leaflet for the mapping part. There's some examples here.

I use the XMLTemplater for this but since Leaflet requires javascript too (and that messes up the XML validation in the XMLTemplater) I do some string replacement afterwards and drop in the relevant bits of HTML/javascript.

It does require more than just basic HTML knowledge...

You may also want to look into Carto, which is supported as a writer in FME. This way you would need a lot less HTML knowledge.


Forum|alt.badge.img
  • Author
  • 12 replies
  • January 31, 2018

I've dabbled a bit with this myself and I think you'll gain a lot of flexibility by generating HTML yourself and use Leaflet for the mapping part. There's some examples here.

I use the XMLTemplater for this but since Leaflet requires javascript too (and that messes up the XML validation in the XMLTemplater) I do some string replacement afterwards and drop in the relevant bits of HTML/javascript.

It does require more than just basic HTML knowledge...

You may also want to look into Carto, which is supported as a writer in FME. This way you would need a lot less HTML knowledge.

Thank you redgeographics!

 

Will try out with XMLTemplater. Maybe someday we could use reportgenerator to make tooltips and have more out from it that way!