Catalog npm
PACKAGE EXPLORERView in registry

3d-stack

npm

vue 3d stack component

stack
Versions collected9
Direct dependencies9From release 0.2.0
Last observed20 Oct, 19:37 UTC

README

Current package documentation

3d-stack

Install

// npm
npm install 3d-stack

// yarn
yarn add 3d-stack

Options

Props

NameTypeDescription
initDataParams: obj[Array]init data

Events

NameTypeDescription
changeParams: value[Object]values change when the callback function

How to Use

<template>
  <div>
    <h1>3D Stack Chart</h1>
    <stack :init-data="browsers" v-if="browsers && browsers.length" @change="change"></stack>
  </div>
</template>

<script>
const initData = [
  { name: 'chrome', count: 300, color: '#3866d1' },
  { name: 'ie', count: 180, color: '#299529' },
  { name: 'edge', count: 120, color: '#257e25' },
  { name: 'firefox', count: 80, color: '#9d2424' },
  { name: 'safari', count: 50, color: '#252525' },
  { name: 'opera', count: 30, color: '#995924' },
  { name: 'others', count: 40, color: '#484848' }
]

export default {
  data() {
    return {
      browsers: initData
    };
  },
  methods: {
    change(e) {
      console.log('value:', e);
    }
  }
}
</script>

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 9

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.0Registry latest18 Sept 20179
0.1.818 Sept 20179
0.1.618 Sept 20179
0.1.418 Sept 20177
0.1.218 Sept 20177
0.1.018 Sept 20177
0.0.818 Sept 20171
0.0.618 Sept 20171
0.0.118 Sept 20171

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:37 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:11b9cf0ee5f5cc5b27da3924e5d2630b98b5e01f2bd79ede35a149182ad69afb