2.0.7 • Published 7 months ago

vue-treemap-diagramm v2.0.7

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

vue-treemap-diagramm

Simple treemap diagramm for Vue3 and Vite. Use predefined colors or provide your own instead. LIVE DEMO: https://treemapdiagrammvuedemo.firebaseapp.com

Quick start

  • Install with npm: npm install vue-treemap-diagramm
  • Install with yarn: yarn add vue-treemap-diagramm
  • Inside your Vue file: import {TreeMap} from 'vue-treemap-diagramm'
  • Import styles globally by import 'vue-treemap-diagramm/dist/style.css'

Documentation

PropPropTypeDefaultDescription
chartDataTreeMapChildPreview[]-Data of the diagramm
enableVertivalTitlebooleanfalseWrite node titles vertically
widthnumber-Width of the diagramm
heightnumer-Heght of the diagramm

Typisation of chartData

ChartData (TreeMapChildPreviewList) is an array of objects with (TreeMapChildPreview) type, is made to provide data to the diagramm. It supports such features as value, title and color.

KeyPropTypeRequiredDescription
valuenumbertrueValue of the node
titlestringtrueTitle of the node
colorstringfalseColor of the node

Creators

Kira Samsonova

2.0.5

7 months ago

2.0.7

7 months ago

2.0.6

7 months ago

2.0.4

7 months ago

2.0.3

7 months ago

2.0.2

7 months ago

2.0.1

7 months ago

2.0.0

7 months ago