diff --git a/src/components/ChartsTabs.jsx b/src/components/ChartsTabs.jsx index e2c3c8f..4fe6edf 100644 --- a/src/components/ChartsTabs.jsx +++ b/src/components/ChartsTabs.jsx @@ -40,8 +40,8 @@ function ChartsTabs({ selectedValue, setSelectedValue, days }) { boxShadow: "outline", }} fontWeight={500} - py={1} - px={2} + py={{base:"3px",md: 1 }} + px={{base:"6px",md: 2 }} > {props.children} @@ -61,34 +61,30 @@ function ChartsTabs({ selectedValue, setSelectedValue, days }) { const group = getRootProps(); return ( - - - - - - + Last - {/* */} + /> + {options.map((value) => { const radio = getRadioProps({ value }); return ( diff --git a/src/components/Doughnut/LineChart.jsx b/src/components/Doughnut/LineChart.jsx index 3cbc416..14d3d9a 100644 --- a/src/components/Doughnut/LineChart.jsx +++ b/src/components/Doughnut/LineChart.jsx @@ -155,6 +155,15 @@ const LineChart = () => { titleColor: "#4B4B4B", bodyColor: "#4B4B4B", displayColors: false, + padding: 12, + bodyFont: { + size: 14, // Increase the font size here + lineHeight: 1.3, + boxShadow:"3px 3px 3px #000" + }, + boxShadow: "0px 4px 12px rgba(0, 0, 0, 0.1)", // Box shadow CSS + borderColor: "#ccc", // Optional: adding border to complement the shadow + borderWidth: 1, }, }, scales: { @@ -165,6 +174,16 @@ const LineChart = () => { return value / 1000 + "k"; }, }, + grid: { + border:false, + borderColor: 'transparent' // Remove the border on the Y-axis + }, + }, + x: { + grid: { + border:false, + borderColor: 'transparent' // Optionally remove the border on the X-axis + }, }, }, }; @@ -188,7 +207,7 @@ const LineChart = () => { > Transaction History - { { mb={0} rounded={6} > - + {data?.data?.amount && Amount