Improve SVG chart colour palette
This commit is contained in:
parent
f8f1b0358e
commit
b720297b89
@ -815,6 +815,7 @@ function read_and_display_file(file) {
|
|||||||
|
|
||||||
<h4>General</h4>
|
<h4>General</h4>
|
||||||
<ol>
|
<ol>
|
||||||
|
<li>Improve SVG chart colour palette</li>
|
||||||
<li>...</li>
|
<li>...</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
@ -909,28 +909,28 @@ Killed process 6576 (java) total-vm:33914892kB, anon-rss:20629004kB, file-rss:0k
|
|||||||
|
|
||||||
svg_namespace = 'http://www.w3.org/2000/svg'
|
svg_namespace = 'http://www.w3.org/2000/svg'
|
||||||
|
|
||||||
# from Sasha Trubetskoy - https://sashat.me/2017/01/11/list-of-20-simple-distinct-colors/
|
# 20 different colours generated with Colorgorical http://vrl.cs.brown.edu/color
|
||||||
svg_colours = [
|
svg_colours = [
|
||||||
'#e6194b', # Red
|
'#aee39a',
|
||||||
'#3cb44b', # Green
|
'#344b46',
|
||||||
'#ffe119', # Yellow
|
'#1ceaf9',
|
||||||
'#0082c8', # Blue
|
'#5d99aa',
|
||||||
'#f58231', # Orange
|
'#32e195',
|
||||||
'#911eb4', # Purple
|
'#b02949',
|
||||||
'#46f0f0', # Cyan
|
'#deae9e',
|
||||||
'#f032e6', # Magenta
|
'#805257',
|
||||||
'#d2f53c', # Lime
|
'#add51f',
|
||||||
'#fabebe', # Pink
|
'#544793',
|
||||||
'#008080', # Teal
|
'#a794d3',
|
||||||
'#e6beff', # Lavender
|
'#e057e1',
|
||||||
'#aa6e28', # Brown
|
'#769b5a',
|
||||||
'#fffac8', # Beige
|
'#76f014',
|
||||||
'#800000', # Maroon
|
'#621da6',
|
||||||
'#aaffc3', # Mint
|
'#ffce54',
|
||||||
'#808000', # Olive
|
'#d64405',
|
||||||
'#ffd8b1', # Coral
|
'#bb8801',
|
||||||
'#000080', # Navy
|
'#096013',
|
||||||
'#808080', # Grey
|
'#ff0087'
|
||||||
]
|
]
|
||||||
|
|
||||||
svg_array_updown = """
|
svg_array_updown = """
|
||||||
|
Loading…
Reference in New Issue
Block a user