fix charts
This commit is contained in:
parent
0bdb7cdcdf
commit
e7c5a830c8
|
@ -60,7 +60,6 @@ function PlayerStatistics({ server, t }: Props) {
|
||||||
margin={{ top: 20, right: 100, bottom: 50, left: 45 }}
|
margin={{ top: 20, right: 100, bottom: 50, left: 45 }}
|
||||||
xScale={{
|
xScale={{
|
||||||
type: 'time',
|
type: 'time',
|
||||||
precision: 'day',
|
|
||||||
}}
|
}}
|
||||||
yScale={{
|
yScale={{
|
||||||
type: 'linear',
|
type: 'linear',
|
||||||
|
@ -71,8 +70,8 @@ function PlayerStatistics({ server, t }: Props) {
|
||||||
}}
|
}}
|
||||||
xFormat="time:%Y-%m-%d"
|
xFormat="time:%Y-%m-%d"
|
||||||
axisBottom={{
|
axisBottom={{
|
||||||
tickSize: 5,
|
tickSize: 0,
|
||||||
tickValues: 5,
|
tickValues: 'every 6 days',
|
||||||
tickPadding: 5,
|
tickPadding: 5,
|
||||||
tickRotation: 0,
|
tickRotation: 0,
|
||||||
format: '%Y-%m-%d',
|
format: '%Y-%m-%d',
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
export const LIMIT = 30;
|
export const LIMIT = 31;
|
||||||
|
|
|
@ -60,7 +60,6 @@ function TribeStatistics({ server, t }: Props) {
|
||||||
margin={{ top: 20, right: 100, bottom: 50, left: 45 }}
|
margin={{ top: 20, right: 100, bottom: 50, left: 45 }}
|
||||||
xScale={{
|
xScale={{
|
||||||
type: 'time',
|
type: 'time',
|
||||||
precision: 'day',
|
|
||||||
}}
|
}}
|
||||||
yScale={{
|
yScale={{
|
||||||
type: 'linear',
|
type: 'linear',
|
||||||
|
@ -71,8 +70,7 @@ function TribeStatistics({ server, t }: Props) {
|
||||||
}}
|
}}
|
||||||
xFormat="time:%Y-%m-%d"
|
xFormat="time:%Y-%m-%d"
|
||||||
axisBottom={{
|
axisBottom={{
|
||||||
tickSize: 5,
|
tickValues: 'every 6 days',
|
||||||
tickValues: 5,
|
|
||||||
tickPadding: 5,
|
tickPadding: 5,
|
||||||
tickRotation: 0,
|
tickRotation: 0,
|
||||||
format: '%Y-%m-%d',
|
format: '%Y-%m-%d',
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
export const LIMIT = 30;
|
export const LIMIT = 31;
|
||||||
|
|
|
@ -119,7 +119,6 @@ function Statistics({ t, server, playerID }: Props) {
|
||||||
margin={{ top: 20, right: 90, bottom: 50, left: 85 }}
|
margin={{ top: 20, right: 90, bottom: 50, left: 85 }}
|
||||||
xScale={{
|
xScale={{
|
||||||
type: 'time',
|
type: 'time',
|
||||||
precision: 'day',
|
|
||||||
}}
|
}}
|
||||||
yScale={{
|
yScale={{
|
||||||
type: 'linear',
|
type: 'linear',
|
||||||
|
@ -130,8 +129,7 @@ function Statistics({ t, server, playerID }: Props) {
|
||||||
}}
|
}}
|
||||||
xFormat="time:%Y-%m-%d"
|
xFormat="time:%Y-%m-%d"
|
||||||
axisBottom={{
|
axisBottom={{
|
||||||
tickSize: 5,
|
tickValues: 'every 6 days',
|
||||||
tickValues: 5,
|
|
||||||
tickPadding: 5,
|
tickPadding: 5,
|
||||||
tickRotation: 0,
|
tickRotation: 0,
|
||||||
format: '%Y-%m-%d',
|
format: '%Y-%m-%d',
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
export const LIMIT = 30;
|
export const LIMIT = 31;
|
||||||
|
|
|
@ -112,7 +112,6 @@ function Statistics({ t, server, tribeID }: Props) {
|
||||||
margin={{ top: 20, right: 90, bottom: 50, left: 85 }}
|
margin={{ top: 20, right: 90, bottom: 50, left: 85 }}
|
||||||
xScale={{
|
xScale={{
|
||||||
type: 'time',
|
type: 'time',
|
||||||
precision: 'day',
|
|
||||||
}}
|
}}
|
||||||
yScale={{
|
yScale={{
|
||||||
type: 'linear',
|
type: 'linear',
|
||||||
|
@ -123,8 +122,7 @@ function Statistics({ t, server, tribeID }: Props) {
|
||||||
}}
|
}}
|
||||||
xFormat="time:%Y-%m-%d"
|
xFormat="time:%Y-%m-%d"
|
||||||
axisBottom={{
|
axisBottom={{
|
||||||
tickSize: 5,
|
tickValues: 'every 6 days',
|
||||||
tickValues: 5,
|
|
||||||
tickPadding: 5,
|
tickPadding: 5,
|
||||||
tickRotation: 0,
|
tickRotation: 0,
|
||||||
format: '%Y-%m-%d',
|
format: '%Y-%m-%d',
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
export const LIMIT = 30;
|
export const LIMIT = 31;
|
||||||
|
|
Reference in New Issue
Block a user