60
Views
2
Comments
Solved
Advanced format HighChart JSON  doesn't work
Application Type
Reactive

I am trying to change highchart line background color of the area underneath the line.

I found this in OS documentation and it is exactly what I want. But after I added the JSON code to AdvancedFormat > HighchartsJSON nothing changed on the chart.

Also, I tried this JSON:

series: [{

    color: '#415A93',

    fillColor: {                    

                     linearGradient: [0, 0, 0,250],                    

                      stops: [                        

                                     [0, 'rgba(0,145,150,0.5)'],                       

                                     [1, 'rgba(0,122,50,0.5)']                    

                                     ]                

}}]

But still the same result nothing changed. 

This is the result that I want:

2021-03-18 21-03-15
Benjith Sam
 
MVP
Solution

Hi,

I think the referred HighchartsJSON configuration is for the Area chart. Give it a try using the Area chart instead of Line chart.

Demo: AreaChartTask

I hope this helps you!


Kind regards,

Benjith Sam

2024-01-06 15-04-40
moussa saidi

That fixed it. Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.