mirror of
https://github.com/4cuck/nitter-status.git
synced 2026-10-27 00:57:39 +00:00
partially revert attempt, timestamps don't match
This commit is contained in:
1 parent
67ab478581
commit
cea88d7e10
3 files changed
+32
-166
No files matched your search
@@ -16,36 +16,7 @@ async function loadGraph() {
|
||||
rangeSelectorPlotFillGradientColor: 'rgba(123, 104, 238, 0)',
|
||||
colorValue: 0.9,
|
||||
fillAlpha: 0.4,
|
||||
colors: ['#008000', '#ffa500','#008500','#058000'],
|
||||
series: {
|
||||
'Date': {
|
||||
axis: 'y'
|
||||
},
|
||||
'Healthy': {
|
||||
axis: 'y'
|
||||
},
|
||||
'Tokens AVG': {
|
||||
axis: 'y2'
|
||||
},
|
||||
'Limited Tokens AVG': {
|
||||
axis: 'y2'
|
||||
},
|
||||
'Requests AVG': {
|
||||
axis: 'y2'
|
||||
},
|
||||
},
|
||||
axes: {
|
||||
y: {
|
||||
axisLabelWidth: 60
|
||||
},
|
||||
y2: {
|
||||
// set axis-related properties here
|
||||
// drawGrid: false,
|
||||
// drawAxis: false,
|
||||
},
|
||||
},
|
||||
ylabel: 'Instances',
|
||||
y2label: 'Tokens',
|
||||
colors: ['#008000', '#ffa500'],
|
||||
/*rollPeriod: 14,
|
||||
showRoller: true,
|
||||
customBars: true,
|
||||
@@ -61,13 +32,13 @@ async function loadGraph() {
|
||||
g.setAnnotations([
|
||||
{
|
||||
series: "Healthy",
|
||||
x: "2023-05-18T00:00:01Z",
|
||||
x: "2023-05-18",
|
||||
shortText: "G",
|
||||
text: "First API Change"
|
||||
},
|
||||
{
|
||||
series: "Healthy",
|
||||
x: "2024-01-24T00:00:01Z",
|
||||
x: "2024-01-24",
|
||||
shortText: "D",
|
||||
text: "API Shutdown"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user