So basically I'm having a barchart where the information is taken from the logic in preparations using the server action which has the components as below:
Name: Chart Name
Action: DataPoint_Init
Label: Replace(List.Current.Code, "_", "") + " " + List.Current.Des
Value: List.Current.Amt
DataSeriesName: Replace(List.Current.Code, "_", "")
ToolTip:
Color: "Red"
and then it is being appened. What I want is to show gradients of red in the color scetion of the bar chart
Hello @Tara coup
Refer this link:
https://charts.outsystems.com/samples/gradient-fill
https://www.outsystems.com/forums/discussion/49973/how-to-fill-column-chart-with-gradient-colour/
I hope this helps
Thanks
Thats for area right? sorry I'm very new so. Also I have n series of data ntg is sepcified
Inside your Server Action, create a list of colors you want to use for the gradient.
List<Color> colors = new List<Color> {
"#FFCDD2", // Light Red
"#EF9A9A", // Medium Light Red
"#E57373", // Medium Red
"#EF5350", // Dark Medium Red
"#F44336" // Dark Re
d
};
Thank you.
I get this"Syntax error caused by unexpected 'List' element in expression. " error can share your oml
HI @Tara coup
I have solved your problem and attached the OML.Please check the HIghchartsDemo screen.
Karnika