New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@damilaredev/apexcharts-vue

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@damilaredev/apexcharts-vue

Vue 3 ApexCharts

  • 0.0.8
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

ApexCharts Vue

Setup

Compatible with Vue >=3 Apexcharts is required to be installed in your project.

# yarn
yarn install apexcharts @damilaredev/apexcharts-vue

# npm
npm i apexcharts @damilaredev/apexcharts-vue

# pnpm
pnpm i apexcharts @damilaredev/apexcharts-vue

Usage

import { createApp } from 'vue'
import ApexChartsVue from '@damilaredev/apexcharts-vue'
import App from './App.vue'

createApp(App).use(ApexChartsVue).mount('#app')

Props

type Props = {
  /**
   * Graph type prop
   *
   * @default 'line'
   *
   * @property
   * @name type
   * @type {string | undefined}
   */
  type?:
    | 'line'
    | 'area'
    | 'bar'
    | 'pie'
    | 'donut'
    | 'radialBar'
    | 'scatter'
    | 'bubble'
    | 'heatmap'
    | 'candlestick'
    | 'boxPlot'
    | 'radar'
    | 'polarArea'
    | 'rangeBar'
    | 'rangeArea'
    | 'treemap'

  /**
   * Graph config options
   *
   * @default '100%'
   *
   * @property
   * @name options
   * @type {ApexOptions | undefined}
   */
  options?: ApexOptions

  /**
   * Graph data prop
   *
   * @default '[]'
   *
   * @property
   * @name series
   * @type {ApexAxisChartSeries | ApexNonAxisChartSeries | undefined}
   */
  series?: ApexAxisChartSeries | ApexNonAxisChartSeries

  /**
   * Graph width
   *
   * @default '100%'
   *
   * @property
   * @name width
   * @type {string | number | undefined}
   */
  width?: string | number

  /**
   * Graph height
   *
   * @default '100%'
   *
   * @property
   * @name height
   * @type {string | number | undefined}
   */
  height?: string | number
}

Example

Check out the GitHub example repo for sample usage.

FAQs

Package last updated on 13 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc