Closed remcogerlich closed 11 years ago
My main worry: this becomes a really long label, which probably won't fit in most places where we want to use it. Or does it?
If you merge commit http://github.com/lizardsystem/lizard-map/commit/2ce65d7db1b67195a87c6bd8415ef3bf16d5eca0, travis will run again.
It works in the only place that uses it right now, with room to spare.
If percentiles are added to a flot graph, the label of the line these percentiles is changed so that it describes the percentiles too. E.g., a label that used to read
"Grondwaterstand [cmNAP]"
may now read
"Grondwaterstand [cmNAP] (met 10% - 90% percentiel, 25% - 75% percentiel)"
The reason that the percentile data doesn't get its own legend items is that the percentiles and the main data use the exact same color, with different opacities. Opacities aren't shown in the legend, so that makes it impossible to distinguish between the different legend items. Therefore this solution (changing the label of the data that gets the percentiles) was chosen.