Changed Chart Labels
This commit is contained in:
@@ -11,7 +11,7 @@ import {
|
||||
import { LineChartArr } from "@/types/LineChartStats";
|
||||
|
||||
interface LineChartComponentProps {
|
||||
label: "Triggers" | "Links Deleted" | "Commands";
|
||||
label: "Times Triggered" | "Links Deleted" | "Command Responses";
|
||||
data: LineChartArr;
|
||||
}
|
||||
|
||||
@@ -32,14 +32,14 @@ const LineChartComponent = ({
|
||||
// axisLine={false}
|
||||
dataKey={chart.key("day")}
|
||||
stroke={chart.color("border")}
|
||||
label={{ value: "Day", position: "bottom" }}
|
||||
// label={{ value: "Day", position: "bottom" }}
|
||||
/>
|
||||
<YAxis
|
||||
// axisLine={false}
|
||||
tickLine={false}
|
||||
tickMargin={10}
|
||||
stroke={chart.color("border")}
|
||||
label={{ value: label, position: "left", angle: -90 }}
|
||||
// label={{ value: label, position: "left", angle: -90 }}
|
||||
/>
|
||||
<Tooltip
|
||||
animationDuration={100}
|
||||
|
||||
Reference in New Issue
Block a user