anki-enhance-main-window
anki-enhance-main-window copied to clipboard
Change bar colors?
Hey, thank you for all your help so far. I was wondering if it was possible to change the colors on the bar?
Normally, it's the same color as the column. So if you change the color of the number in the column, it should also change it in the color bar. I can't garantee that it'll work perfectly, it's hard to make the add-on as configurable as that
I might come a bit late but I will try to answer to you @Z1839, the colour of the bars are configurable as Arthur said, however, you have to check the exact name of the column referenced by the bar chart, it might be different than the one that you have decided to display.
For example :
I displayed this item (reviewed today/repeated today
) with the colour mediumslateblue
:
"absolute": true,
"color": "mediumslateblue",
"description": "Number of reviewed cards seen today and number of reviews",
"header": null,
"name": "reviewed today/repeated today",
"overlay": null,
"percent": false,
"present": true,
"subdeck": true
But in the bar graph, the displayed value is corresponding to the field reviewed today
"description": "Percent bar to do today",
"header": "Today",
"name": "bar",
"names": [
"review today",
"learning card",
"new today",
"reviewed today"
],
"overlay": null,
"present": true,
"subdeck": true
So I need to change the purple
in the section reviewed today
to the colour mediumslateblue
in order to match both the column and the bar graph.
"absolute": true,
"color": "purple",
"description": "Number of reviewed cards seen today",
"header": null,
"name": "reviewed today",
"overlay": null,
"percent": false,
"present": false,
"subdeck": true
It took me a bit of time to understand but once you get it, it works quite well!