I have a lot of chart of pie type looking as
var chart23 = board.create('chart', dataArr23,
{chartStyle:'pie',
colors:['#0F408D','#6F1B75','#CA147A','#DA2228','#E8801B','#FCF302','#8DC922','#15993C','#87CCEE','#0092CE'],
fillOpacity:0.8, center:[5,2], strokeColor:'white', highlightStrokeColor:'black', strokeWidth:4,visible:false,
labels:["$\\textrm{Intervention (33%)}$","$\\textrm{Dotation (0.14%)}$", "$\\textrm{Opérations Financières (20%)}$","$\\textrm{Fonctionnement (10%)}$", "$\\textrm{Charge de la Dette (7%)}$", "$\\textrm{Personnel (27%)}$","$\\textrm{Investissement (3%)}$"],
highlightColors:['#E46F6A','#F9DF82','#F7FA7B','#B0D990','#69BF8E','#BDDDE4','#92C2DF','#637CB0','#AB91BC','#EB8EBF'],
highlightOnSector:true,
highlightBySize:true,
gradient:'linear'
}
);
setAttribute and setProperty are documented. But when I try
chart2.setAttribute({visible:true}) -- i have setted the property false by default, the return is
char23.setAttribute is not a function.
So the question is how to have access to the parameters of a chart ?