タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

JavaScriptとcanvasに関するhide_o_55のブックマーク (2)

  • ファイルサイズを考慮した Canvas の保存 : document

    12月18 ファイルサイズを考慮した Canvas の保存 こんにちは、18 日以降の Graphical Web Advent Calendar が空いているので、場をつなぐ意味も込めて簡単な記事を投稿させていただきます。 先日の記事では PNG の仕様について書きましたが、その知識をさっそく生かす事ができます。 また、この記事では HTMLCanvasElement を省略して Canvas と表記させていただきます。 Canvas#toDataURL() さて、一般的に Canvas の描画状況を保存しようと思うと、Canvas#toDataURL メソッドを使用すると思います。 ですが、このメソッドで保存された画像がどのようになっているかご存知の方はあまりいないと思います。 まずは、以下のコードで簡単な Canvas 描画を行ってみます。 function draw1(target

  • AwesomeChartJS

    Easy to use Just create a new AwesomeChart object and pass the canvas element's id as a parameter to the constructor. Then set the chart's data and call the object's draw() method. That's it! Your chart is ready! Fully customizable Control how your chart looks by defining: Font styles Fill and stroke styles for bars and pies Margin sizes

    hide_o_55
    hide_o_55 2011/02/04
    Canvasでグラフを描画するライブラリ
  • 1