Hello guys, i need to set a different color config for each histogram in the column stats, so my question is: there is an easy way to do that?
Raw data Table custom color for histograms in column stats
emoya
#2
@dani yes, and actually you can review the column-statistics Docs, and use the widgetProps
to set some custom widget props, like this:
const myCustomColor = cf.Color();
myCustomColor.palette('macarons');
.set("columnStats", {
enabled: true,
height:70,
widgetProps: [
{
field: 'trip_start_timestamp',
props: {
color: myCustomColor
}
}
]
})