A class specified for setting the arguments of chart functions. Namespace: MindFusion.Charting Syntax
RemarksThe FunctionArgs class specifies the interval, in which delegate functions are calculated. The delegate function is used to create YData values as a result from calculations made on the data from the FunctionArgs object. The numerical interval is considered as XData. Charts, created through the CalculateFunctionDelegate can only be line charts and their variations - scatter, bubble and so on. The count of numbers in an interval, even the smallest one, is impossible to be represented as a constant and this does not allow drawing of pie, radar and bar charts. When the data count is too big it is not advisable to set the LabelType property of the AxisSettings object for any of the chart axes to AxisLabelType.ChartData. When labels for some of the chart axes are specified, the control calculates the function for as many values as labels are defined. The label style of the axis, where you want to draw the labels must be set to AxisLabelType.CustomText. The two final values of the interval are specified with the StartValue and EndValue properties. The distance between numbers passed as function arguments is specified by FunctionDelta. The numerical interval, in which the function is calculated is a closed one - it includes the start and end values. Every FunctionArgs object can be assigned to the FunctionArguments property of a Chart object. There are no limitations on the type of the delegate function - you can calculate whatever you want as long as it returns one float value. Inheritance HierarchySystem.Object See Also |