chart-library
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

Chart Library for JavaScript and TypeScript

A chart library that supports a variety of chart types - line, area, bar, pie, radar, polar, scatter, bubble and much more. Includes a dashboard control and gauges.

Installing

For the latest stable version:

npm install i chart-library

What's New in JS Chart 1.2.1

  • Fixed a bug with rotated data labels in Bar charts and renderers.

What's New in JS Chart 1.2

  • A new origin property of the Axis class lets you specify the origin of an axis.
  • A new SimpleSeries constructor override allows you to specify a list with tooltips for the newly created Series.
  • The new drawLeftFromPoint method allows you to render text, which is left-aligned compared to a given Point.
  • The new methods fromObject and toObject of the Font class allow you to deserialize and serialize Font instances from/to Json objects.
  • innerLabelRotation, outerLabelRotation and stackOuterLabels properties give you better control over the rendering of labels in bar charts.
  • All Series can accept now simple JavaScript array-s as arguments instead of Collections.List instances.
  • The ToolTip class is greatly extended with many new properties that allow you to customize the apparance and position of tooltips.
  • The Color.knownColors field lists all standard CSS color names.
  • Brush and Pen instances can be created with simple strings that specify the HTML code of the color as argument instead of Color objects.
  • The yLabelAlignment property of BiaxialChart specifies horizontal alignment of Y-axis labels.
  • Texts are now properly underlined when FontStyle.Underline is set.
  • Fixed a bug that caused a stacked BarChart sometimes to crash.

Documentation

  1. Detailed API Reference
  2. Tutorials and Step-by-step Guides

Samples

A variety of online samples are uploaded here. You can download an archive with all samples from here.

Additional Information

Learn more about JS Chart from the official product page. Stay in touch with MindFusion about our latest product announcements, tutorials and programming guidelines via Twitter or our company blog.

Technical Support

Licensing

The end-user license agreement for JS Chart is here.

Package Sidebar

Install

npm i chart-library

Weekly Downloads

37

Version

1.2.1

License

SEE LICENSE IN LICENSE.txt

Unpacked Size

1.3 MB

Total Files

5

Last publish

Collaborators

  • mindfusion