tvjs-xp
v0.3.0
Published
Extension pack for trading-vue-js
Downloads
395
Maintainers
Readme
TVJS Std Extension Pack
Install
nmp i tvjs-xp
List of extensions
| Name | Author | Type | Description | Version | |---|---|---|---|---| | chart-link | StdSquad | Ext | Sync multiple charts (cursors, drawing tools) | 1.0.0 | | grid-resize | StdSquad | Ext | Resize vertical sections | 1.0.0 | | legend-buttons | StdSquad | Ext | Moving overlays aroud, adding, removing | 1.0.0 | | settings-win | StdSquad | Ext | Changing script props (settings) | 1.0.0 |
Usage
<template>
<trading-vue :data="dc" :extensions="ext"/>
</template>
<script>
import TradingVue from 'trading-vue-js'
import XP from 'tvjs-xp'
export default {
name: 'app',
components: { TradingVue },
data() {
return {
ext: Object.values(XP),
dc: new DataCube(...)
}
}
}
</script>
In browser:
//...
ext: Object.values(TvjsXP.default),
//...