From 770ba5201f5c60b2bb36602ff9d359f641e33125 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sun, 23 Oct 2011 21:14:40 +0200 Subject: Charting with flask, rgraph and custom "timeseries database" --- schall/static/RGraph/examples/text.html | 133 ++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 schall/static/RGraph/examples/text.html (limited to 'schall/static/RGraph/examples/text.html') diff --git a/schall/static/RGraph/examples/text.html b/schall/static/RGraph/examples/text.html new file mode 100644 index 0000000..c334d2f --- /dev/null +++ b/schall/static/RGraph/examples/text.html @@ -0,0 +1,133 @@ + + + + + + RGraph: Javascript charts & HTML5 canvas charts library - Animated rotating text with the RGraph software + + + + + + + + + + + + + + +

RGraph: Javascript charts & HTML5 canvas charts - A text function that does horizontal and vertical alignment (and spins)

+ + + + + + + + + + + +
The fallback HTML
+   +   + +
+ +

+ RGraph.Text() is a text drawing function that allows vertical and horizontal alignment, and allows you to specify the angle of the + text too. The animation is done by a simple gobal variable, setTimeout() and redrawing the entire + canvas every frame. Perhaps not the most efficient of methods, but remember that your Javascript will likely be + running on computers that have more processing power than + some small countries... Reset the page +

+ +

+ In a similar vein you could easily make some text that bounces from one side of the screen to the other, + hurrah - the return of <marquee>! +

+ +
+ More examples can be found on the individual example pages, and a more complete + reference to the Text() function can be found in the API docs. +
+ + + +
+ + Mention RGraph on Twitter + +
+ + + +
+ + +
+ \ No newline at end of file -- cgit v1.2.1