This commit is contained in:
parent
d935a82fe8
commit
b17a5ecac6
@ -38,7 +38,7 @@ export const options: any = {
|
|||||||
y: {
|
y: {
|
||||||
ticks: {
|
ticks: {
|
||||||
autoSkip: true,
|
autoSkip: true,
|
||||||
maxTicksLimit: 4,
|
maxTicksLimit: 8,
|
||||||
},
|
},
|
||||||
reverse: true,
|
reverse: true,
|
||||||
},
|
},
|
||||||
@ -103,7 +103,7 @@ export default function PlayerChart({
|
|||||||
labels,
|
labels,
|
||||||
datasets: [
|
datasets: [
|
||||||
{
|
{
|
||||||
lineTension: 0.4,
|
lineTension: 0.5,
|
||||||
data: history,
|
data: history,
|
||||||
label: "Rank",
|
label: "Rank",
|
||||||
borderColor: "#3e95cd",
|
borderColor: "#3e95cd",
|
||||||
@ -114,7 +114,7 @@ export default function PlayerChart({
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="h-[280px] w-full">
|
<div className="h-[310px] w-full">
|
||||||
<Line className={className} options={options} data={data} />
|
<Line className={className} options={options} data={data} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user