Progress Bar Misalignment in Project Widgets on Dashboard
This commit is contained in:
parent
7b1ed97452
commit
cea000021f
@ -64,6 +64,12 @@ const ExpenseByProject = () => {
|
|||||||
categories: chartData.categories,
|
categories: chartData.categories,
|
||||||
labels: { style: { fontSize: "12px" }, rotate: -45 },
|
labels: { style: { fontSize: "12px" }, rotate: -45 },
|
||||||
},
|
},
|
||||||
|
yaxis: {
|
||||||
|
labels: {
|
||||||
|
formatter: (val) => formatCurrency(val),
|
||||||
|
style: { fontSize: "12px", colors: "#555" },
|
||||||
|
},
|
||||||
|
},
|
||||||
tooltip: {
|
tooltip: {
|
||||||
y: {
|
y: {
|
||||||
formatter: (val) => `${formatCurrency(val)} (${getSelectedTypeName()})`,
|
formatter: (val) => `${formatCurrency(val)} (${getSelectedTypeName()})`,
|
||||||
|
|||||||
@ -24,7 +24,7 @@ const ProjectCompletionChart = () => {
|
|||||||
<p className="card-subtitle">Projects Completion Status</p>
|
<p className="card-subtitle">Projects Completion Status</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="card-body">
|
<div className="card-body ms-n7">
|
||||||
<HorizontalBarChart
|
<HorizontalBarChart
|
||||||
categories={projectNames}
|
categories={projectNames}
|
||||||
seriesData={projectProgress}
|
seriesData={projectProgress}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user