You create synchronized charts by building several charts with a common x-axis and adding a wpDataCharts callback that gives each chart a unique id and the same group.
By default, this chart type is not available in chart wizard in the ApexCharts engine, but with small extensions with wpDataCharts callbacks it is possible.
What you need to do is to create more charts separately in the charts creation wizard with a common x-axis and significant difference in y values. After that, you will insert this example of wpDataCharts callback on the same page where you insert shortcodes from previously created charts.
As you can see in the example below, for each wpDataChartsCallbacks you will provide ids of the charts that you create (example for chart id 1 is wpDataChartsCallbacks[1]). Of course, you will replace chart ids in those callbacks with your own.
You can insert charts as many as you need, in our example we insert 4. Then for each callback you will need to provide a unique id ( for example for the first chart line-1 or chart-1, for the second one line-2 or chart-2 and so on) and the most important part for each wpDataChartsCallback you will need to provide the same group (as in our example “sync”, you can name it as you need). Height for each of them, you can set in chart creation wizard (all are set on 160) and that is it.
Hover over each chart area and you will see sync values for each value on x-axis.
<script type="text/javascript">
jQuery(window).on('load', function(){
if( typeof wpDataChartsCallbacks == 'undefined' ){ wpDataChartsCallbacks = {}; }
wpDataChartsCallbacks[1] = function(obj){
obj.options.chart.id = 'line-1',
obj.options.chart.group = 'sync'
}
wpDataChartsCallbacks[2] = function(obj){
obj.options.chart.id = 'line-2',
obj.options.chart.group = 'sync'
}
wpDataChartsCallbacks[3] = function(obj){
obj.options.chart.id = 'area-1',
obj.options.chart.group = 'sync'
}
wpDataChartsCallbacks[4] = function(obj){
obj.options.chart.id = 'area-2',
obj.options.chart.group = 'sync'
}
});
</script>