1.1.3 • Published 6 months ago

vue-analytics-chart-widgets v1.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

vue-analytics-chart-widgets

A great plugin which you can fully customize different charts and be able to generate a code which can be embedded to any website

Demo

Have fun!

https://github.com/mariellecarnecer99/vue-analytics-chart-widgets-demo

Project setup

Installation

Using yarn

yarn add vue-analytics-chart-widgets

Using npm

npm i vue-analytics-chart-widgets

Usage

Register it globally

import { registerPlugins } from 'vue-analytics-chart-widgets'
import 'vue-analytics-chart-widgets/style.css'

const app = createApp(App)

// Pass environment variables or localStorage data as options to the registerPlugins function
app.use(registerPlugins, {
  apiUrl: { your_api_url },
  authorizationType: { your_authorization_type },
  accessToken: { your_access_token }
})

app.mount('#app')

Use it in your components:

<script>
    import { VueAnalyticsChartWidgets } from "vue-analytics-chart-widgets";
    export default {
      components: {
        VueAnalyticsChartWidgets
      }
    }
</script>

<template>
    <VueAnalyticsChartWidgets />
</template>

Features

  • Can add more than one chart(with different charting libraries) in your reports
  • Can edit your charts simultaneously
  • Can add your own data for the charts
    • Upload data source(csv)
    • Input service url
    • Blend data
  • Can add your own endpoint URL
  • Date control filter for each charts
  • Date control that filter out all the configured charts
  • Can add styles to your charts
  • Preview configured report
  • Download report as image
  • Will have a full control of your chart data and controls
    • Date range control
    • Chart title
    • Chart description
  • Can embed your chart/report into your website
  • Charts can be draggable and resizable
  • Reports Dashboard
    • Can add, edit and delete report