My build is reporting statistics via service messages. I have implemeted a bean which provides a description and value format for my statistics key. The ValueType.getDescription() and ValueType.getValueFormat() are invoked at the time of creating a chart and correctly display my statistics key description and pre-set value type. However, ValueType.getSeriesColor() is never invoked, and thus colors are always randomly assigned to the values. I have series I consider 'negative' and would like to be red by default, and series I consider 'positive' and should be green by default.
I found an "OpenAPI" change log here: https://confluence.jetbrains.com/display/TCD8/Open+API+Changes
It mentions this line:
ValueType doesn't even have a getColor() method. I tried implementing it just in case the bean calls it by name via reflection, but it didn't work. I'm guessing the whole thing is just broken.
Anyone able to get color assignments working without editting xml files?