mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 12:30:19 +08:00
* test * feat: #3365 add more dada to the dashboard page chart * feat: #3365 Add more data to the dashboard page chart
This commit is contained in:
@ -135,6 +135,12 @@ const Dashboard = (props) => {
|
||||
i18next.t("general:Applications"),
|
||||
i18next.t("general:Organizations"),
|
||||
i18next.t("general:Subscriptions"),
|
||||
i18next.t("general:Roles"),
|
||||
i18next.t("general:Groups"),
|
||||
i18next.t("general:Resources"),
|
||||
i18next.t("general:Certs"),
|
||||
i18next.t("general:Permissions"),
|
||||
i18next.t("general:Transactions"),
|
||||
], top: "10%"},
|
||||
grid: {left: "3%", right: "4%", bottom: "0", top: "25%", containLabel: true},
|
||||
xAxis: {type: "category", boundaryGap: false, data: dateArray},
|
||||
@ -145,6 +151,12 @@ const Dashboard = (props) => {
|
||||
{name: i18next.t("general:Providers"), type: "line", data: dashboardData.providerCounts},
|
||||
{name: i18next.t("general:Applications"), type: "line", data: dashboardData.applicationCounts},
|
||||
{name: i18next.t("general:Subscriptions"), type: "line", data: dashboardData.subscriptionCounts},
|
||||
{name: i18next.t("general:Roles"), type: "line", data: dashboardData.roleCounts},
|
||||
{name: i18next.t("general:Groups"), type: "line", data: dashboardData.groupCounts},
|
||||
{name: i18next.t("general:Resources"), type: "line", data: dashboardData.resourceCounts},
|
||||
{name: i18next.t("general:Certs"), type: "line", data: dashboardData.certCounts},
|
||||
{name: i18next.t("general:Permissions"), type: "line", data: dashboardData.permissionCounts},
|
||||
{name: i18next.t("general:Transactions"), type: "line", data: dashboardData.transactionCounts},
|
||||
],
|
||||
};
|
||||
myChart.setOption(option);
|
||||
|
Reference in New Issue
Block a user