Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Git import of Alastair Tse's chart and graph plotting library for Javascript
JavaScript Python
Branch: master

Implemented clipping to the yAxis range

If a yAxis range is specified as an option, and the data values went
beyond that range, PlotKit previously bounded the points to the yAxis
range, meaning the gradients of the lines before and after that point
were wrong. I have now implemented a proper clipping algorithm which
adds additional points if necessary, representing a cut-off/flattened
curve.
latest commit 82db96d090
Martin Kleppmann authored

README.md

PlotKit

Introduction

PlotKit is a Chart and Graph Plotting Library for Javascript. It has support for HTML Canvas and also SVG via Adobe SVG Viewer and native browser support.

PlotKit is fully documented and there is a quick tutorial to get you started.

PlotKit is a complete rewrite of CanvasGraph. It is better structured and supported.

Requirements

  • MochiKit 1.3 or higher
  • HTML Canvas: Safari 2+, Opera 9+, Firefox 1.5+, IE 6 (in emulated mode)
  • SVG: Opera 9+, Firefox 1.5+ (see note), IE6 with Adobe SVG.

Note: Firefox 1.5+ on Linux and Windows is supported. Firefox 1.5+ on Mac does not draw labels in SVG, so you must set axisLabelUseDiv to true if you want to have maximum compatibility.

Licenses

  • PlotKit is copyright (c) 2006 Alastair Tse. Licensed under the BSD License.
  • excanvas.js is copyright (c) 2006 Google Inc. Licensed under the Apache License.

Get/Download

Documentation

Development

Examples

About

PlotKit was created by Alastair Tse - alastair@liquidx.net and extended by Martin Kleppmann

Something went wrong with that request. Please try again.