Skip to main content
Question

Htmlreportgenerator charts inside infobox


Forum|alt.badge.img

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

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+50

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
  • January 31, 2018
redgeographics wrote:

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!

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings