From 8c5fe59ea2f22d8c4fbab80fcaf702843fccf2f9 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Sun, 24 Apr 2011 18:26:35 -0400 Subject: [PATCH] drawing demo --- tests/drawing.html | 207 ++++++++++++++++++++++++++++++++++++++++ tests/drawing/cursor-eraser.png | Bin 0 -> 1437 bytes tests/drawing/cursor-pencil.png | Bin 0 -> 857 bytes tests/drawing/tool-palette.png | Bin 0 -> 4898 bytes 4 files changed, 207 insertions(+) create mode 100644 tests/drawing.html create mode 100755 tests/drawing/cursor-eraser.png create mode 100755 tests/drawing/cursor-pencil.png create mode 100644 tests/drawing/tool-palette.png diff --git a/tests/drawing.html b/tests/drawing.html new file mode 100644 index 0000000..e873b74 --- /dev/null +++ b/tests/drawing.html @@ -0,0 +1,207 @@ + + + + + Dygraphs Drawing Demo + + + + + + + + + + +

Time Series Drawing Demo

+
+
+
+
+ + + +

Toolbar/cursor icons are CC-licensed from FatCow.

+ + diff --git a/tests/drawing/cursor-eraser.png b/tests/drawing/cursor-eraser.png new file mode 100755 index 0000000000000000000000000000000000000000..bcef6b9a12703b618228d734be1b78591fec601e GIT binary patch literal 1437 zcmV;O1!DS%P)H zw=iH&r0YOl%D}O89qk6aYj3Z=bK1&d>pIxLoBVRy+jGz7dw#ETD(Sk8|MQYYc|Q5O zHCsJKNnXXjL}S{QZ*E)jE`8MQ$71Af-YMJVZ$6{zk*Kh1?OpoLwO?@;vwIC^KfGVA zN3N@S*X|nqZ%>te@rx?Go$k8YuUCJ*E2Ri&l;G;JPgdaSZ%yd;hX8{iK68w?Q4Kk- z&O^1Q3hobHGSk!k(G-|j zRiEut3s$)i{Jj;C0ImFX_$?x07`tRP_J6$>i#~kiKM{8;fc^UE4t3#*0`ycj#=(X( zQ;`53j!f6%*#B)c7Jsx%h>-6FzGu@8wcw2f2pv2D$s`N6OOlk@gcktEf>{XFoJ97l ze9WCOC-=t#KkqZ#DZISWqq+*8NAF=TAmC(_bSaGlaCpZ2M-Z%Og%*q;%Wi|-r>&&< zEXF&5dpsU>se389YJITEM#R#|=UrCQVR`mp0oVH?U=~J2B14Dhz{+q1uj?(8x&0<5re=f>CAJd(aOC9j|w7i31C~cY*7nbZUh27 zL+2S^Fp0o?#}-vm$Dh}h=Mo7IH`@9pi2XL7n^=bq3t zJdr;W!GkT(dc&0M3d|NOE_QXJ?hhXdO9sLR6Tr&K%EZdUs*2$rRy68xc~d6i^!f9c z+%3b})eB~`q1_)KcpF|TDH;@hy8u>NQlh#REvCIgqfo}ulSyEd5^mC@i8%e|8R0C& zX~R?!;rCufowp6kO5aWi=U1{1uo8k7xEF)h8Sh}S!I0MN3S-F3bl~)vv*Lj*!v?!8 z0~ap)vBzJF4W;XbgeL{a8#ivKnD@+caMrt*S;f80=fm;(V^}{- zcv67EU2dfQ9Hqu08;2HPGBPL%Lwys$Gj707`Pxule;n(I*9{xaFA?a@&d#66Xp@i# zAj2pRZWcum@P@{w0dT(Z;^N{vf{T+Z7g1MN*D_)J_|==DS&rS{m`L9zvPY^w_@tFsc<@-V$$}2M-bCXH*g@)!9f;vUEI~@*6xK=dO*N+IE6o7;m!d!?D zk)6Ff6bfPbj2U7FY-%}yv6*AxaN318jvhIJRNJLu27R rB3Y_8pYjvox_-a@bl%hJUjYUH#D!XjCcivu00000NkvXXu0mjf?AN!% literal 0 HcmV?d00001 diff --git a/tests/drawing/cursor-pencil.png b/tests/drawing/cursor-pencil.png new file mode 100755 index 0000000000000000000000000000000000000000..0ee281c51dbb5efb81e32089401ed2b6dcd05768 GIT binary patch literal 857 zcmV-f1E&0mP)8&X3GAI(HHbfT*VZHN(E8q!i|~)g+>&GJrEKhBT5ZN$yaLT zBWu)YR2ucpX0eCH$m-? z&u~vG;KsLLb955nv!{LixF=^|Zsp#<*IR*q2X2F9_oM;~PrH}!wN_yDtL7oTmIOq_ zS4%*2{C^4f1YaoupW(}W3FYlY(bN!{;Z!2lR`9&sIQ^e%xSuP{$!{_avTHR5h1WwU$;lSxq!XuLz7%jEjNKCJ-<* z6?!ovzWdFsvYO%{3;T=utZtO{1Hu!E6YKdTY{6EFD9oI7j8V`=V2Z*)!HfNJW!$gS j0QV{d*a;uDzXA*ZyXv#T=PeKy00000NkvXXu0mjfY`TH2 literal 0 HcmV?d00001 diff --git a/tests/drawing/tool-palette.png b/tests/drawing/tool-palette.png new file mode 100644 index 0000000000000000000000000000000000000000..a34004592941f323b2cadb27ef3fc5a4297d88ab GIT binary patch literal 4898 zcmYjVc{r3&+kY^|*hdDFEF;;nN0zdUecvMyV-3lkwF%Q$vXhWeV=ZJ~%RaI<)?}^h zvS%lfcY43;yRP?-=Pb`T=e~dU@|@>)&U0f!EqWSu8UO(3b+pw@Nwq!cK|;W!l2FqB zl2noTnQEy5<%1k+qz;e2#$A6iFBktndtYZj%h%r9)y+}O%QL{)*WcL}A*kc&@9ZHI z7=3yf04`PNs3XmTvNv(R&CIRRdp5W;x%qG9J$U;xGchw}Ez|buEeHO_2M*VDXIlEJ zJVdSEmAvn-?yrA6YO1$2yl$$VYyh$XAuXnyEX`T@rg(UGBGNPhtWrU#d~B%((DOk> zwo5m7WP6V*!&cdRFg@sBZ~SJ@oBf7@#b<+mz7G6Bm|ZISd^-p?ldBdj(>b`gDZ*aP zraJ$cF;YwHB8+#-dS+8KXn%#?zr>|hsTK6Q>`^jRYjjro#fs|L*m(LDMyMIk#d{}gs#e|Zl_Til$GX#W)UyLZZgt9!nfdyYw9^OIF0+ZXM@31EcONo|!A=Uda zrIn`hI)r)gp85Cb=WferR0$}G@a|;6giKO$%99-h>kIgjCEu=@Od z)6BgV3c=x?m!_ldJlXrY8@b}!0Jwu)Y?UKDX3eFbF3^>g6-1m;JXtX#O0eTZMXdgQ zOOhhe_rnT(Zo$J#=tfId^PwD5`N%)z)at!;AI#-2Lk{azpAMCNsiAeK)~>!jlF8)} zAuD?DVkRge;T^5uDJbJf$9%{Dn^qEM&l-sT4Ct&n3I=dPkojI5C2n79d9_8?|8ts zR3en-Z-i)YrrG!QA zm&^KWi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