@visa/charts-vue
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

@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"
/>;

Readme

Keywords

none

Package Sidebar

Install

npm i @visa/charts-vue

Weekly Downloads

1

Version

1.2.0

License

SEE LICENCE IN LICENSE

Unpacked Size

28.3 kB

Total Files

7

Last publish

Collaborators

  • david.kutas.npm
  • chris-demartini