charts-v
v0.5.15
Published
Uniapp 3.0 is used to display K-line chart graphs and other chart
Downloads
4
Maintainers
Readme
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
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.