score:0

i was able to solve my issue with the chart-dataset-override attribute. i updated the color setting for the array. in the example below i just overwrote the colors with red.

i plan to for loop through the array and set the values per the condition being true.

techid.datasetoverride = [
                        {
                            fill: true,
                            backgroundcolor: [
                           "#d7d7d7",
                           "#d7d7d7",
                           "#d7d7d7",
                           "#d7d7d7",
                           "#d7d7d7",
                           "#d7d7d7",
                           "#d7d7d7"
                           
                            ]
                        },
                        {
                            fill: true,
                            backgroundcolor: [
                            	"#0169b4",
                                "#0169b4",
                                "#0169b4",
                                "#0169b4",
                                "red",
                                "#0169b4",
                                "red"
                            ],
                            hoverbackgroundcolor: [
                            	"#0169b4",
                                "#0169b4",
                                "#0169b4",
                                "#0169b4",
                                "red",
                                "#0169b4",
                                "red"
                            ],
                            bordercolor: [
                            	"#0169b4",
                                "#0169b4",
                                "#0169b4",
                                "#0169b4",
                                "red",
                                "#0169b4",
                                "red"
                            ],
                            hoverbordercolor: [
                            	"#0169b4",
                                "#0169b4",
                                "#0169b4",
                                "#0169b4",
                                "red",
                                "#0169b4",
                                "red"
                            ]
                        
                        }];


Related Query

More Query from same tag