-
some .h file include "wxcharts_export.h"
my environment : vs2022, wxWidgets 3.2.4, windows 10
-
I've dealt with different libs in 20+ years doing c++ but this one is dead broken. I simply cannot build it. I use vs2022. Can't you provide something that actually builds?.. what's the point of a pub…
-
# 参数说明
`opts` Object
`opts.canvasId` String **required** 微信小程序canvas-id
`opts.width` Number **required** canvas宽度,单位为px
`opts.height` Number **required** canvas高度,单位为px
`opts.background` …
-
myAppPage.js
```javascript
// 路径是wxCharts文件相对于本文件的相对路径
var wxCharts = require('./utils/wxcharts.js');
Page({
...
onLoad: function() {
new wxCharts({
...
})…
-
# Example
### pie chart
```javascript
var wxCharts = require('wxcharts.js');
new wxCharts({
canvasId: 'pieCanvas',
type: 'pie',
series: [{
name: 'cat1',
data: …
-
**wxcharts_export.h** file missing in this repository.
Even if there are any dependent header files in this file, add those files also.
or if the file is on the internet, please share the link...
…
-
When compiling `wxcharts_vc16.vcxproj` (main branch) with VS2019 (vc142) following errors occur for each CPP-file:
`wxWidgets-3.1.5\include\msvc\wx\setup.h(140,10): fatal error C1083: Cannot open inc…
-
# 方法
- `updateData(data)` 更新图表数据,data: `object`,data.categories(可选,具体见参数说明),data.series(可选,具体见参数说明),data.title(可选,具体见参数说明),data.subtitle(可选,具体见参数说明)
- `stopAnimation()` 停止当前正在进行的动画效果,直接展示渲染的最终结果…
-
大家好!大问题发现:
charts crash with empty array
```js
new wxCharts({
canvasId: 'columnCanvas',
type: 'column',
categories: days,
series: [{
name: 'stars',
…
dcsan updated
4 years ago
-
我的代码逻辑如下,发现实际上的效果是,下拉刷新数据之后,会叠加绘制一条新的曲线,不知道是为啥
```
var chart = null;
...
useEffect(() => {
if(!chart) {
chart = new wxCharts({opts})
}else chart.updateData(data)
}, [data])…