apexcharts / react-apexcharts

📊 React Component for ApexCharts
https://apexcharts.com
MIT License
1.3k stars 151 forks source link

Bar Chart Not getting displayed properly in Multi-chart graph in apexchart. #188

Closed PrathmeshMhatre closed 1 day ago

PrathmeshMhatre commented 4 years ago

I want 5 bar charts and 1 line graph but when i try to add more than 2 bar graph and 1 line chart it is getting displayed incorrectly. i.e The value of the bar graph are different but the height of each bar graph is same. If i allow all the y-axis of the graph to get displayed then the height and the value is displayed correctly. I want to have only 1 y-axis on the left for the bar graph and 1 on the right for line graph and the height and the value of the bar graph should be correct. Capture1

Here is the code. var options = { series: [{ name: 'series 1', type: 'column', data: [3000, 3500, 2750, 2750, 2750, 2750] },{ name: 'series 2', type: 'column', data: [2500, 3000, 2250, 2150, 2500, 2450] },{ name: 'series 3', type: 'column', data: [2500, 3000, 2250, 2150, 2500, 2450] }, { name: 'series 4', type: 'column', data: [2500, 3000, 2250, 2150, 2500, 2450] }, { name: 'series 5', type: 'line', data: [88, 89, 85, 80, 92, 89] }], chart: { height: 300, type: 'line', toolbar: { show: false }

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.