Including output in web pages

28 показвания
Преминаване към първото непрочетено съобщение

Giulio Rigoni

непрочетено,
3.03.2017 г., 5:49:143.03.17 г.
до sofastatistics
Hi, me again :). Still using  this awesome tool...

This time my question is: who's the best way to include Sofa output in html pages ? without losing tolltip ecc...

Thank you !

Grant Paton-Simpson

непрочетено,
3.03.2017 г., 13:33:183.03.17 г.
до sofasta...@googlegroups.com

Hi Giulio,

Given everything is already HTML this is pretty easy.

1) Make a new report and add your charts etc to that

e.g. .../sofastats/reports/webgrab.htm

2) Open the report EITHER

2a) in a text editor

OR

2b) by clicking on View Report and looking at the source code of the report (e.g. ctrl-U in Firefox)

3) Grab all the bits and pieces and put them together in a new HTML file

4) make sure you have all the linked resources in the expected relative locations e.g.

href="sofastats_report_extras/tundra.css" /> means you need to grab the tundra.css file\

The links are at the top e.g.

<link rel='stylesheet' type='text/css'
href="sofastats_report_extras/tundra.css" />
<script src="sofastats_report_extras/dojo.xd.js"></script>
<script src="sofastats_report_extras/sofastatsdojo_minified.js"></script>
<script src="sofastats_report_extras/sofastats_charts.js"></script>

5) Success? :-)

All the best,
Grant
--

---
You received this message because you are subscribed to the Google Groups "sofastatistics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sofastatistic...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

gi...@gmx.com

непрочетено,
17.07.2018 г., 19:14:0117.07.18 г.
до sofastatistics
do a tutorial when you can
Отговор до всички
Отговор до автора
Препращане
0 нови съобщения