Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
lerouxlarissa
Contributor II
Contributor II

Distribution plot: gradient box color

Has anyone tried to set the fill color of  a distribution plot box to a gradient color? 

The grey "box" (see image),  should be a gradient color, for example black on the left and white on the right.

Capture.2PNG.PNG

I have tried to do this with a json theme (see code), but was unsuccessful. I was however successful in changing the box fill to a single hex color, but would like  a gradient instead. 

Any ideas regarding this would be greatly appreciated. 

 

  "distributionPlot": {
      "box": {
        "fill": 
 {
      "type": "LinearGradient",
      "stops": [{
        "color": "red"
      }, {
        "color": "blue"
      }]
    }
      }
    }
Labels (4)
0 Replies