MindFusion.Charting for JavaScript Programmer's Guide
StackRenderer.enumVisibleStackRanges Method
See Also
 






Enumerates each series once providing a list of all visible points at each iteration.

Namespace: MindFusion.Charting
File: StackRenderer.js

 Syntax

JavaScript  Copy Code

function enumVisibleStackRanges (context, process)

 Parameters

context

Type: RenderContext
A RenderContext instance.

process

Type: ProcessStackRange
A ProcessStackRange callback.

 Remarks

The signature of the ProcessStackRange delegate is as follows:'function(seriesIndex, points, prevPoints)'.param {Number} seriesIndex An integer index of series in Series list.param {MindFusion.Charting.Collections.List<Point>} points A list of Point values containing the Plot2D coordinatescorresponding to data items in currently visible range.param {MindFusion.Charting.Collections.List<Point>} prevPoints A list of Point values containing the Plot2D coordinates corresponding to previous series in currently visible range.The method is not expected to return a value.

 See Also

StackRenderer Members
StackRenderer Class
MindFusion.Charting Namespace