2.0.1 • Published 7 months ago

@visa/charts-vue v2.0.1

Weekly downloads
-
License
SEE LICENCE IN LI...
Repository
github
Last release
7 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"
/>;
2.0.1

7 months ago

2.0.0

8 months ago

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

2 years ago