Different charts sizes?
RichardMisencik opened this issue · 3 comments
RichardMisencik commented
Hi, Is it possible to use different chart sizes and colors for different charts based on class or data attribute or whatever?. The idea:
$('.chart').easyPieChart({
size: 80
});
$('.chart.big').easyPieChart({
size: 100
});
Romz commented
Subscribe
rendro commented
yes but you have to make sure the selectors are mutually exclusive.
In your case the first call
$('.chart').easyPieChart({
size: 80
});
also creates charts for .chart.big
.
This should work:
$('.chart.small').easyPieChart({
size: 80
});
$('.chart.big').easyPieChart({
size: 100
});
RichardMisencik commented
Oh right that makes sense, thanks