亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Create multiple brush charts using VueJs and Apexcharts
P粉470645222
P粉470645222 2023-08-26 20:17:05
0
1
719
<p>I am developing an application in which I have created a brush chart using apex charts. However, I would like my brush to control multiple charts, not just one, like shown in the example. Before I start using the callback function, I would like to know if there is an easy way to achieve this functionality through the library, for example by passing a target array: </p> <pre class="brush:php;toolbar:false;">brush:{ target: 'chart2', enabled: true },</pre> <p>Thanks in advance,</p>
P粉470645222
P粉470645222

reply all(1)
P粉884667022

I thought this might be undocumented, but apparently apexcharts allows you to define this:

brush: { enabled: true, targets: ['candles', 'candles_2nd'] },

I found in the library code that it is actually handled like this:

var targets = w.config.chart.brush.targets || [w.config.chart.brush.target]; // 與單目標(biāo)選項的向后兼容性

Best wishes, Jim

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template