Siji Chen
Siji Chen
player组件自身宽度没有计算, 导致根据position算偏移量时, 始终为0. hack方法:在业务侧预估宽度,通过spec传进来 待优化的点: 方案一: player组件提供计算实际宽度的逻辑,在vchart层正确计算dx和dy 方案二:vchart层将占位空间传给player,player在vrender层做布局 

bad case 1: 小数值在大数值之上  ```ts const spec = { "type": "line", "theme": {}, "xField": [ "rKkHTg01DcUs" ], "yField": [ "10002" ], "direction": "vertical", "sortDataByAxis": true, "seriesField": "30001", "padding": {...
bad case2: 预计能排开的标签,没有排开  ```ts const spec = { "type": "line", "theme": {}, "xField": [ "lNoVlGbiPa8F" ], "yField": [ "10002" ], "direction": "vertical", "sortDataByAxis": true, "seriesField": "30001", "padding": { "left":...
> 只有真机上才会有这个bug,模拟器里没问题 这个问题也是ios上才会出现对吗
https://github.com/VisActor/VChart/pull/2621
解决方式:width和height强制写入spec,resize后强制触发tick更新
暂时通过配置hack, 正常迭代节奏修复
@Brant-lzh > ```json > { > "type": "line", > "data": [ > { > "id": "line", > "values": [ > { > "name": "solo-center-5f4f648f96-l4462", > "time": "14:20", > "value": "0.114"...
> > @Crayon-ShinChan Exactly as what you said in Question2, in a utility library, exceptions should not be overused. I think it would be better to consider optimizing the chart...