We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video of bug: https://www.loom.com/share/8224f404e44f44508e5533bd37935a99
Code:
<StackedAreaChart series={queuedMessages} colors={['#008FFB', '#00E396', '#CED4DC']} dataOptions={{title: "Queued Messages", xaxis:{type:"datetime"}, yaxis:{type:"number"}}} height={300}/> import React from 'react'; import ReactApexChart from 'react-apexcharts'; export const StackedAreaChart = ({series, height, colors, dataOptions}) => { let options = { chart: { type: 'area', height: height, stacked: true, events: { selection: function (chart, e) { console.log(new Date(e.xaxis.min)); } } }, colors: colors, dataLabels: { enabled: false }, stroke: { curve: 'smooth' }, fill: { type: 'gradient', gradient: { opacityFrom: 0.6, opacityTo: 0.8 } }, legend: { position: 'top', horizontalAlign: 'left' } }; if (dataOptions.hasOwnProperty('title')) { options.title = {text: dataOptions.title} } if (dataOptions.hasOwnProperty('xaxis')) { options.xaxis = dataOptions.xaxis } if (dataOptions.hasOwnProperty('yaxis')) { options.yaxis = dataOptions.yaxis } return ( <div> <ReactApexChart options={options} series={series} type="area" height={height}/> </div> ); };
The text was updated successfully, but these errors were encountered:
Hello @sujit-baniya any update, I am also facing same issue :)
Sorry, something went wrong.
@vamsikrishnareddy22 I was not able to work with bug so I am currently using different chart library
@sujit-baniya can you suggest the package to me
https://recharts.org/en-US/
thank you @sujit-baniya
No branches or pull requests
Video of bug: https://www.loom.com/share/8224f404e44f44508e5533bd37935a99
Code:
The text was updated successfully, but these errors were encountered: