Lines Matching refs:series

86 			if (options.series.pie.show) {
92 if (options.series.pie.label.show == "auto") {
94 options.series.pie.label.show = false;
96 options.series.pie.label.show = true;
102 if (options.series.pie.radius == "auto") {
103 if (options.series.pie.label.show) {
104 options.series.pie.radius = 3/4;
106 options.series.pie.radius = 1;
112 if (options.series.pie.tilt > 1) {
113 options.series.pie.tilt = 1;
114 } else if (options.series.pie.tilt < 0) {
115 options.series.pie.tilt = 0;
122 if (options.series.pie.show) {
132 plot.hooks.processDatapoints.push(function(plot, series, data, datapoints) { argument
134 if (options.series.pie.show) {
135 processDatapoints(plot, series, data, datapoints);
141 if (options.series.pie.show) {
148 if (options.series.pie.show) {
153 function processDatapoints(plot, series, datapoints) { argument
168 color = options.series.pie.combine.color,
215 if (value / total <= options.series.pie.combine.threshold) {
226 if (numCombined < 2 || value / total > options.series.pie.combine.threshold) {
244 label: options.series.pie.combine.label,
290 maxRadius = Math.min(canvasWidth, canvasHeight / options.series.pie.tilt) / 2;
291 centerTop = canvasHeight / 2 + options.series.pie.offset.top;
294 if (options.series.pie.offset.left == "auto") {
306 centerLeft += options.series.pie.offset.left;
321 if (options.series.pie.tilt <= 0.8) {
345 var shadowLeft = options.series.pie.shadow.left;
346 var shadowTop = options.series.pie.shadow.top;
348 var alpha = options.series.pie.shadow.alpha;
349 …var radius = options.series.pie.radius > 1 ? options.series.pie.radius : maxRadius * options.serie…
351 …if (radius >= canvasWidth / 2 - shadowLeft || radius * options.series.pie.tilt >= canvasHeight / 2…
363 ctx.scale(1, options.series.pie.tilt);
379 var startAngle = Math.PI * options.series.pie.startAngle;
380 …var radius = options.series.pie.radius > 1 ? options.series.pie.radius : maxRadius * options.serie…
386 ctx.scale(1, options.series.pie.tilt);
401 if (options.series.pie.stroke.width > 0) {
403 ctx.lineWidth = options.series.pie.stroke.width;
406 drawSlice(slices[i].angle, options.series.pie.stroke.color, false);
419 if (options.series.pie.label.show) {
458 …var radius = options.series.pie.label.radius > 1 ? options.series.pie.label.radius : maxRadius * o…
461 if (slices[i].percent >= options.series.pie.label.threshold * 100) {
479 var lf = options.legend.labelFormatter, text, plf = options.series.pie.label.formatter;
493 var y = centerTop + Math.round(Math.sin(halfAngle) * radius) * options.series.pie.tilt;
511 if (options.series.pie.label.background.opacity != 0) {
515 var c = options.series.pie.label.background.color;
523 .css("opacity", options.series.pie.label.background.opacity)
536 if (options.series.pie.innerRadius > 0) {
541 …var innerRadius = options.series.pie.innerRadius > 1 ? options.series.pie.innerRadius : maxRadius …
544 layer.fillStyle = options.series.pie.stroke.color;
554 layer.strokeStyle = options.series.pie.stroke.color;
578 …radius = options.series.pie.radius > 1 ? options.series.pie.radius : maxRadius * options.series.pi…
603 series: s,
631 series: s,
667 if (h.auto == eventname && !(item && h.series == item.series)) {
668 unhighlight(h.series);
676 highlight(item.series, eventname);
693 highlights.push({ series: s, auto: auto }); property
721 if (h.series == s)
731 …var radius = options.series.pie.radius > 1 ? options.series.pie.radius : maxRadius * options.serie…
735 octx.scale(1, options.series.pie.tilt);
738 drawHighlight(highlights[i].series);
745 function drawHighlight(series) { argument
747 if (series.angle <= 0 || isNaN(series.angle)) {
752 …octx.fillStyle = "rgba(255, 255, 255, " + options.series.pie.highlight.opacity + ")"; // this is t…
754 if (Math.abs(series.angle - Math.PI * 2) > 0.000000001) {
757 octx.arc(0, 0, radius, series.startAngle, series.startAngle + series.angle / 2, false);
758 …octx.arc(0, 0, radius, series.startAngle + series.angle / 2, series.startAngle + series.angle, fal…
768 series: { property