Home | History | Annotate | Download | only in flot

Lines Matching refs:plot

60 	// Maximum redraw attempts when fitting labels within the plot
64 // Factor by which to shrink the pie when fitting labels within the plot
68 function init(plot) {
85 plot.hooks.processOptions.push(function(plot, options) {
120 plot.hooks.bindEvents.push(function(plot, eventHolder) {
121 var options = plot.getOptions();
132 plot.hooks.processDatapoints.push(function(plot, series, data, datapoints) {
133 var options = plot.getOptions();
135 processDatapoints(plot, series, data, datapoints);
139 plot.hooks.drawOverlay.push(function(plot, octx) {
140 var options = plot.getOptions();
142 drawOverlay(plot, octx);
146 plot.hooks.draw.push(function(plot, newCtx) {
147 var options = plot.getOptions();
149 draw(plot, newCtx);
153 function processDatapoints(plot, series, datapoints) {
156 canvas = plot.getCanvas();
158 options = plot.getOptions();
159 plot.setData(combine(plot.getData()));
253 function draw(plot, newCtx) {
259 var canvasWidth = plot.getPlaceholder().width(),
260 canvasHeight = plot.getPlaceholder().height(),
309 var slices = plot.getData(),
331 if (plot.setSeries && plot.insertLegend) {
332 plot.setSeries(slices);
333 plot.insertLegend();
417 // Draw the labels, returning true if they fit within the plot
576 var slices = plot.getData(),
577 options = plot.getOptions(),
656 var offset = plot.offset();
694 plot.triggerRedrawOverlay();
703 plot.triggerRedrawOverlay();
714 plot.triggerRedrawOverlay();
727 function drawOverlay(plot, octx) {
729 var options = plot.getOptions();
813 $.plot.plugins.push({