Something which I would have thought is trivial - so apologies in advance. 
  

I'm collecting data in elastic search. the mapping looks like this:

"mappings" : {
"dosing": {
"properties" : {
"sitename" : {"type" : "string", "index" : "not_analyzed"},
"subjectlabel" : {"type" : "string", "index" : "not_analyzed"},
"visitnumber" : {"type" : "integer"},
"metric" : {"type" : "string"},
"what" : {"type" : "string"},
"risk" : {"type" : "string"},
}}}
Risk is a string with a low, mid or high value - using an Items panel - I 
produce a chart with 3 bars - for High, Mid and Low

I have not been able to figure out how to change the colors of the bars - 
I'm using the default green, yellow and blue - which doesn't really work 
for high, mid and low risk.

I suppose I could hack the CSS and replace the colors with a different 
palette but it would be more elegant if there a bar.color property one 
could set
Ideas?
Thanks
Danny

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/b00583c9-9f38-4691-8ff5-787d2787c40e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to