ソースを参照

donut graph remove label

tags/Baseline_30082024_FRONTEND_UAT
Mac\David 1年前
コミット
88808a23bc
1個のファイルの変更3行の追加2行の削除
  1. +3
    -2
      src/components/StaffUtilization/StaffUtilization.tsx

+ 3
- 2
src/components/StaffUtilization/StaffUtilization.tsx ファイルの表示

@@ -1247,6 +1247,7 @@ const StaffUtilization: React.FC<Props> = ({ abilities, staff }) => {
// setTeamTotalManhoursSpentActualData(monthActualData) // setTeamTotalManhoursSpentActualData(monthActualData)
setIndividualStaffManhoursSpentPeriod(weekDates); setIndividualStaffManhoursSpentPeriod(weekDates);
}; };


const options2: ApexOptions = { const options2: ApexOptions = {
chart: { chart: {
@@ -1257,7 +1258,7 @@ const StaffUtilization: React.FC<Props> = ({ abilities, staff }) => {
pie: { pie: {
donut: { donut: {
labels: { labels: {
show: true,
show: false,
name: { name: {
show: true, show: true,
}, },
@@ -1269,7 +1270,7 @@ const StaffUtilization: React.FC<Props> = ({ abilities, staff }) => {
}, },
total: { total: {
show: false, show: false,
showAlways: true,
showAlways: false,
label: "Spent", label: "Spent",
fontFamily: "sans-serif", fontFamily: "sans-serif",
formatter: function (val) { formatter: function (val) {


読み込み中…
キャンセル
保存