1.2.0 • Published 3 months ago

@visa/charts-vue v1.2.0

Weekly downloads
-
License
SEE LICENCE IN LI...
Repository
github
Last release
3 months ago

@visa/charts-vue

This package bundles visa chart components web components and exports them as vue components. We leverage stencil's vue bindings in the creation of @visa/charts-vue.


Installation Steps

  • Using npm
    $ npm i @visa/charts-vue
  • Using yarn
    $ yarn add @visa/charts-vue

Components with Ready status in this bundle

# Use VCC as vue components

Step 1: Install yarn add @visa/charts-vue

Step 2: Use component as any other Vue component

// in App.vue
import { BarChart, VisaChartsDataTable } from '@visa/charts-vue';

<BarChart
  mainTitle="BarChart"
  subTitle="Vertical (default) bar chart example"
  :data="data"
  ordinalAccessor="month"
  valueAccessor="value"
  :height="400"
  :width="600"
/>;

// OR, use as a plugin

// in main.js
import { ComponentLibrary } from '@visa/charts-vue';
createApp(App).use(ComponentLibrary).mount('#app');

// in App.vue
<bar-chart
  mainTitle="BarChart"
  subTitle="Vertical (default) bar chart example"
  :data="data"
  ordinalAccessor="month"
  valueAccessor="value"
  :height="400"
  :width="600"
/>;
1.2.0

3 months ago

1.1.1

3 months ago

1.1.0

8 months ago