fix: proper colors for usage charts

This commit is contained in:
Torsten Dittmann committed 2022-10-13 15:17:39 +02:00
1 parent d94ee785fd
commit c824ec3339
4 files changed
+13 -4

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
{
"color": ["#ff80b7", "#a1c4ff", "#cbb1fc", "#94dbd1", "#fdc584", "#f02e65", "#ffa1a1"],
"color": ["#F02E65", "#94DBD1", "#A1C4FF", "#CBB1FC", "#FDC584"],
"backgroundColor": "rgba(255,255,255,0)",
"textStyle": {},
"line": {
-1
View File
@@ -1,5 +1,4 @@
{
"color": ["#f02e65", "#a1c4ff", "#cbb1fc", "#94dbd1", "#fdc584", "#f02e65", "#ffa1a1"],
"backgroundColor": "rgba(0,0,0,0)",
"title": {
"textStyle": {
-1
View File
@@ -1,5 +1,4 @@
{
"color": ["#ff80b7", "#a1c4ff", "#cbb1fc", "#94dbd1", "#fdc584", "#f02e65", "#ffa1a1"],
"backgroundColor": "rgba(255,255,255,0)",
"title": {
"textStyle": {
+12 -1
View File
@@ -73,6 +73,7 @@
<div class="u-margin-block-start-16" />
<LineChart
series={[
{},
{
name: createdMetadata.legend,
data: [...created.map((e) => [e.date, e.value])]
@@ -87,6 +88,8 @@
<div class="u-margin-block-start-16" />
<LineChart
series={[
{},
{},
{
name: readMetadata.legend,
data: [...read.map((e) => [e.date, e.value])]
@@ -101,6 +104,9 @@
<div class="u-margin-block-start-16" />
<LineChart
series={[
{},
{},
{},
{
name: updatedMetadata.legend,
data: [...updated.map((e) => [e.date, e.value])]
@@ -115,9 +121,14 @@
<div class="u-margin-block-start-16" />
<LineChart
series={[
{},
{},
{},
{},
{
name: deletedMetadata.legend,
data: [...deleted.map((e) => [e.date, e.value])]
data: [...deleted.map((e) => [e.date, e.value])],
zlevel: 2
}
]} />
{/if}