Can the LightningChart shared axis feature stack 2 line series on multiple Y axes with a shared X axis?
P粉894008490
P粉894008490 2024-02-04 10:24:44
0
1
379

I need to create a stacked line chart. Basically I want to create 2 Y axes and have them share a common X axis. The two Y-axes should be stacked on top of each other.

I know ChartXY has an option to add an axis (https://lightningchart.com/lightningchart-js-api-documentation/v4.0.0/classes/ChartXY.html#addAxisY), but there seems to be a default parameter for adding the Y axis Will be on the left or right side. Is there a way to change it to top or bottom? Would appreciate any help with LightningCharts.js or any other way to achieve this.

P粉894008490
P粉894008490

reply all(1)
P粉037880905

Currently there is no support for stacking multiple Y axes together in 1 chart.

Currently this use case is achieved by making multiple charts, synchronizing their X-axis and making only 1 X-axis visible. For example https:// Lightningchart.com/lightningchart-js-interactive-examples/examples/lcjs-example-0028-multiChannelLineProgressiveOwnAxes.html?isList=false

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!