mirror of
https://github.com/nubenetes/awesome-kubernetes.git
synced 2026-05-22 00:53:37 +00:00
docs: fix Mermaid xychart-beta bar colors in README.md
This commit is contained in:
@@ -168,6 +168,12 @@ The growth of Nubenetes reflects the acceleration of the Cloud Native ecosystem.
|
||||
|
||||
<!-- ANNUAL_CHART_START -->
|
||||
```mermaid
|
||||
---
|
||||
config:
|
||||
themeVariables:
|
||||
xyChart:
|
||||
plotColorPalette: "#5462eb, #fb8c00"
|
||||
---
|
||||
xychart-beta
|
||||
title "Nubenetes Annual Growth Metrics (Commits vs New Refs)"
|
||||
x-axis ["2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025", "2026"]
|
||||
|
||||
@@ -101,7 +101,7 @@ def get_stats():
|
||||
growth_data.sort(key=lambda x: x["year"])
|
||||
|
||||
# Generate Bar Chart (Mandate 3: Metric Comparison)
|
||||
annual_chart = "```mermaid\nxychart-beta\n title \"Nubenetes Annual Growth Metrics (Commits vs New Refs)\"\n"
|
||||
annual_chart = "```mermaid\n---\nconfig:\n themeVariables:\n xyChart:\n plotColorPalette: \"#5462eb, #fb8c00\"\n---\nxychart-beta\n title \"Nubenetes Annual Growth Metrics (Commits vs New Refs)\"\n"
|
||||
years = [f'"{item["year"]}"' for item in growth_data]
|
||||
commits = [item["count"] for item in growth_data]
|
||||
refs = [str(int(int(item["count"]) * 4.13)) for item in growth_data]
|
||||
|
||||
Reference in New Issue
Block a user