Create multiple brush charts using VueJs and Apexcharts
P粉470645222
2023-08-26 20:17:05
<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>
I thought this might be undocumented, but apparently apexcharts allows you to define this:
I found in the library code that it is actually handled like this:
Best wishes, Jim