0.0.14 • Published 1 year ago

@czty/lchartbarp v0.0.14

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

一:说明: 人物形状的象形柱状图

二:使用: npm i @czty/lchartbarp

import React from 'react'; import Lchartbarp from '@czty/lchartbarp';

const MyComponent = () => { return ( <Lchartbarp draggable={true} configer={ x: 0, y: 0, clazz : '', params : {}, url: '', method: 'get', data: {score: 3, recordTime: "2022-04-02 09:00:00", params: {}}, {score: 3, recordTime: "2022-04-01 10:00:00", params: {}}, {score: 3, recordTime: "2022-03-30 12:00:00", params: {}}, {score: 15, recordTime: "2022-03-29 13:00:00", params: {}}, {score: 20, recordTime: "2022-03-28 14:00:00", params: {}},

    width: '400px',
    height: '200px',

    maleValue: 4331,
    femaleValue: 3117,
    maleColor: 'rgb(1, 229, 233)',
    femaleColor: 'rgb(255, 85, 85)',
    
    options: {}
  }
/>

) }

三:字段说明 x: y: clazz: 可添加的组件的className params: 请求的传参参数 url: 请求的url地址 method: 请求方式 width: 组件的整体宽度 height: 组件的整体高度 data:数据 maleValue:男性图数据 femaleValue:女性图数据 maleColor:男性图填充颜色 femaleColor:女性图填充颜色 options:饼图option选项

0.0.14

1 year ago

0.0.13

1 year ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.9

2 years ago

0.0.3

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago