bring structure and working on filters
This commit is contained in:
@@ -13,6 +13,7 @@ const Chart = ({chartId, type, series, specialOption}) => {
|
||||
const options = {
|
||||
chart: {
|
||||
id: chartId,
|
||||
offsetY: -30,
|
||||
locales: [chartLang],
|
||||
defaultLocale: languageApp,
|
||||
fontFamily: languageList[0].fontFamily,
|
||||
@@ -26,7 +27,7 @@ const Chart = ({chartId, type, series, specialOption}) => {
|
||||
},
|
||||
...(specialOption ? specialOption : {})
|
||||
}
|
||||
return <ApexChart type={type} options={options} series={series} width="100%" height="100%"/>
|
||||
return <ApexChart type={type} options={options} series={series}/>
|
||||
};
|
||||
|
||||
export default Chart;
|
||||
|
||||
Reference in New Issue
Block a user