Current filter:
                                You should refresh the page.
                                  • Hi,

                                    Is it possible to colour bars of a sparkline graph depending on the value of each bar?

                                    For example, on a range of 1 to 100 , I would like a bar with a value between 1-50 to be blue and 50 to 60 green, etc.

                                    Thanks

                                1 Solution

                                Creation Date Importance Sort by

                                Hi Sebastian,

                                Our Sparkline does not provide this functionality. I passed your inquiry to our team and we will consider this feature in the future, However, I can't provide you with any ETA.
                                At the moment, I recommend using one of the following workarounds:

                                1. Use Winloss Sparklines and specify the winlossThreshold, winColor and lossColor options. This way, you will be able to specify more colors for different bars.
                                2. Use bar charts instead of sparklines. The main idea is to create small charts and remove all labels and grids from them. This way, you will be able to specify different colors for different bars.
                                Let me know if you have further questions.
                                • Sebastian Marten 10.22.2019

                                  Thanks Lex, much appreciated.

                                • Lex (DevExpress Support) 10.22.2019

                                  You are welcome, Sebastian!