charts-v

0.5.15 • Public • Published

USE

<template>
  <ChartView
    info="info"
    type="type"
    requestUrl="http://xxx"
    wsUrl="ws://xxx/"
  />
</template>

<script>
  import ChartView from 'charts-v'
</script>

Description

param type desc required default
info String data time true \
type String data type true \
requestUrl String init data url true \
wsUrl String websocket url true \
wsParams Any websocket params false \
dataLength Number data length false 200

Data Format

init data

{
  [
    '["1111","2222","3333","4444","5555"]',
    ...
  ]
}

ws data

{
  "xxx": {
    "price": "123123",
    ...
  },
  ...
}

Preview Image

preview image preview image preview image preview image preview image preview image preview image preview image preview image

Description

If you need help with color, style, data format, coordinate axis, legend, etc., you can contact me, I will try my best to help you. If you have any questions, I will reply ASAP.

QQ: 2672067518

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i charts-v

      Weekly Downloads

      7

      Version

      0.5.15

      License

      ISC

      Unpacked Size

      7.61 MB

      Total Files

      121

      Last publish

      Collaborators

      • aaaaaaaabbbbbbbb