cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Chart - problem with stack

¡Resuelto!
Ir a solución

Hello,

Ive got 3 problems with stack plots:

1. In the legend, the first value of table is the last one, why?

2. Always when i remove one value(in this case i turn off button), the last chart is remove

3. When I turn off the second button(rest is on), the plot name in legend is doubled.

Does anyone have an idea what i can do with this?

 

thanks for any answers.

 

 

0 kudos
Mensaje 1 de 7
3.978 Vistas

Propery nodes execute top to bottom, so you first need to set the active plot and then the name, not the other way around. Change the order of the two properties.

 

(sorry, I haven't looked at the rest of your code)

0 kudos
Mensaje 2 de 7
3.954 Vistas

Ok thanks, that was the one problem. The second is:

I dont know how to off one plot from the middle of stack.

I belive the problem is in this part(attached png), because when i off one button, the number of total is decrement. But i still have no idea what to do to avoid it.

0 kudos
Mensaje 3 de 7
3.941 Vistas

Try something like this:

 

 

0 kudos
Mensaje 4 de 7
3.921 Vistas

Nope, still the same.
I have added case structure to show the problem.
nr. chart - value
0 - 0
1 - 1
2 - 2
3 - 3
for example when I turn off button nr 2, i lost plot nr 3... In the legend it looks alright

 

That's so annoying...

0 kudos
Mensaje 5 de 7
3.900 Vistas
Solución
Aceptado por el autor del tema Mirasoul

Well, you simply need to code it differently.

 

Try this:

Mensaje 6 de 7
3.894 Vistas

That`s what I wanted. Thanks a lot!

0 kudos
Mensaje 7 de 7
3.891 Vistas