For the first question I have found the solution (and also for the second one
):
Code: Select all
for(i=0; i<120; i++){
pieValues[i] = new Array();
if(i===0 || i===15 || i===30 || i===45 || i===60 || i===75 || i===90 || i===105){
pieValues[i] = {
y: 5.25,
z: curentVal*1.4,
color: swicherC,
sName : minTol + ' < '+ ScurentVal + ' mm' + ' < ' + maxTol,
name : '⦿ ' + ScurentVal,
text: i*3 + " º",
dataLabels: {
distance: 4 ,
enabled: true,
borderRadius: 5,
backgroundColor: 'rgb(255, 255, 204)',
borderWidth: 1,
borderColor: '#AAA',
y: 26// Individual distance
}
}
}else{
pieValues[i] = {
y: 5.25,
z: curentVal*1.4,
color: swicherC,
sName : minTol + ' < '+ ScurentVal + ' mm' + ' < ' + maxTol,
text: i*3 + " º",
}
}
BUT still ... I want to get rid of the lines that link the pie to the labels. Here is an example .
https://codepen.io/Jaquelline/pen/ZmjNYV?editors=0010#
Thanks,
Jaquelline