I am trying to use the based stack type for some of my TimeChart's. But I've noticed some behavior I can not understand.
I have two series pointing to the same stack (based type):
The code:
stacks: {
"stackA": {
name: "A",
type: "based"
},
},
series: [
{
name: "Total",
id: "serie1",
type: "columns",
data: {
index: 1
},
style: { fillColor: color_verde_claro },
stack: "stackA"
},
{
name: "CVC",
id: "serie2",
type: "columns",
data: {
index: 2
},
style: { fillColor: color_cinza_claro },
stack: "stackA"
},
The result:

If "total" is disabled:

If "CVC" is disabled:

The only reference I could find to the based type - I mean, some explanation about - was:
https://zoomcharts.com/developers/en/time-chart/introductory-topics/data-series.html
So, if the series are based to zero value... Why I can see a piece of the green one, when both of them are enabled? And if both have the same high, which one should be in the front and which one should be hidden by the other? Or, what is the expected behavior in this case?