Skip to content

Commit

Permalink
Update svg-line-formidable.html
Browse files Browse the repository at this point in the history
Take out the seccond code block when viewing the demo on the website
  • Loading branch information
heyesr committed Feb 25, 2023
1 parent 6193a1e commit d9ca4b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demos/svg-line-formidable.html
Expand Up @@ -263,7 +263,7 @@ <h2>How to get transparent tickmarks using the canvas Line chart</h2>
&lt;/script&gt;
</pre>


<!-- <RGRAPH_REMOVE> -->
<script>
line1 = new RGraph.Line({
id: 'cvs1',
Expand Down Expand Up @@ -313,6 +313,7 @@ <h2>How to get transparent tickmarks using the canvas Line chart</h2>
{maxWidth:800,width:450,height:200,options:{textSize: 10,tickmarksSize:4},parentCss:{'float':'none'},callback:function (obj){var canvas = document.getElementById('cvs1');canvas.width = 450;canvas.height = 200;var div = canvas.parentNode;div.style.width = '450px';div.style.height = '200px';RGraph.cache = [];RGraph.redraw();}}
]);
</script>
<!-- </RGRAPH_REMOVE> -->


</body>
Expand Down

0 comments on commit d9ca4b6

Please sign in to comment.