Years ago, I found a helpful method for creating a Lollipop chart using a "break-by," but that approach isn’t always feasible. I developed a workaround by combining a stacked bar chart with dots, and now I'm looking to make the dot radius and bar width dynamic based on the number of category values to prevent overlap.
Years ago I was looking for help creating a Lollipop chart and found it on this post which works great when you can take advantage of a "break-by". However, this isn't always the case. We have devise...
I know you can set point radius on the line chart by data point, but i'm not sure that this is true with the bar width, as this is set on a per series level.
The following widget script is for a line series (assuming series 0) and changes radius of the marker based on the value of the data point:
widget.on('processresult', (w, args) => {
let l = args.result.series[0].data.length
for (let i = 0; i < l; i++) {
let datum = args.result.series[0].data[i]
if (datum.y === undefined) { continue }
datum.marker.radius = datum.y
}
})
Resulting in:
If you do discover more on the barwidth by datapoint, i'd love to hear more.
As part of maintaining a healthy and robust Kubernetes (K8s) cluster, occasional reboots of nodes might be necessary. Whether for system updates, hardware maintenance, or other reasons, it's essentia...
I am new to Sisense, trying to build a simple chart where categories from datamodel need to be filtered before usage in x-axis I understand it can be filtered by values but I want to filter the tab...