Skip to content

v6.0.0-beta2 Vaadin Charts with JSON and JS API

Pre-release
Pre-release
Compare
Choose a tag to compare
@DiegoCardoso DiegoCardoso released this 01 Mar 12:26
· 14 commits to 6.0 since this release
ff18633

Introducing the second Beta for the new Vaadin Charts.

  • New JS and JSON API
  • Highcharts now is 5.0.14
  • Simplified high level API with two components (<vaadin-chart> and <vaadin-chart-series>).
    • The list of supported attributes is still short, but new attributes is being added for the next minor release.
  • New styled mode, supporting style through CSS modules:
<link rel="import" href="../bower_components/vaadin-charts/vaadin-chart-default-theme.html">

<dom-module id="css-style-example" theme-for="vaadin-chart">
   <template>
     <style include="vaadin-chart-default-theme">
       .highcharts-title {
         fill: red;
         font-size: xx-large;
       }
     </style>
   </template>
</dom-module>
  • Colors can be set by custom variables --vaadin-charts-color-{n} (where ngoes from0 - 9`)

Check the component page to see the full documentation and demos.