Conversation
f1acdfd to
ccef436
Compare
There was a problem hiding this comment.
@TahaHachana is there an easy way to generate this script snippet block?
imag.Js is missing the google.load("visualization", "1", { packages: ["corechart"] }) part and doesn't load https://www.google.com/jsapi
There was a problem hiding this comment.
For server side usage and IDE integration I left loading the appropriate visualization packages to the user. According to the screenshots below this wasn't a showstopper for you.
There was a problem hiding this comment.
no it works fine, but now I have to add this boilerplate to all html files.
a property with this part would be useful for me.
2015-12-07 17:40 GMT+01:00 Taha Hachana notifications@github.com:
In templates/graph.html
#46 (comment)
:@@ -0,0 +1,21 @@
+{% extends "page.html" %}
+{% block head %}
- <title>Home page | F# Snippets</title>
+{% endblock %}
+
+{% block customPageScripts %}
+<script type="text/javascript" src="https://www.google.com/jsapi"></script>For server side usage and IDE integration I left loading the appropriate
visualization packages to the user. According to the screenshots below this
wasn't a showstopper for you.—
Reply to this email directly or view it on GitHub
https://github.com/tpetricek/FsSnip.Website/pull/46/files#r46843249.
|
Looks pretty :) having some cool stats about the snippets on the page would be cool - if that's what you're thinking! At first, I though this is trying to allow embedding of charts that people create in snippets, which would be cool too - but that's hard to do if we don't want to allow people to run arbitrary code on our server... |
|
Yes it's intended to show stats about stuff in the db. Maybe contribution Tbh we started to use fssnip as a sample app for suave website. So graphs
|
|
Looking good! |




This is a hacky proof of concept to see if fssnip can work with XPlot.
/cc @tforkmann
I plan to create a more useful graph.