Hi,
I've some wired problems when trying to work with the data from onLegendClick.
First example: The two data sources (Beningn, Others) don't have the same properties as the visible is missing in Benign.
Only if the Benign property got clicked once the visible property get's added.
Second example: When I click the legend I always get the data from the second last render. Meaning if I've just clicked on the legend I'll get the data from the second last render instead of the actual current render data.
Hi, I've some wired problems when trying to work with the
Only if the
data
fromonLegendClick
. First example: The two data sources (Beningn, Others) don't have the same properties as thevisible
is missing inBenign
.Benign
property got clicked once thevisible
property get's added.Second example: When I click the legend I always get the data from the second last render. Meaning if I've just clicked on the legend I'll get the data from the second last render instead of the actual current render
data
.Thanks for the help!