Interface IChartBase
The standard chart view used by the ChartViewController for displaying a pre-configured chart from IChart
Uses the ChartViewResultParams parameter type for the view
Inherited Members
Namespace: LemonEdge.Client.Core.Views
Assembly: LemonEdge.ClientCore.dll
Syntax
[ViewDescriptor(typeof(ChartViewEnumerator))]
public interface IChartBase : IModelView
Methods
DisplayData(IEnumerable<ISQLWrapperResult>)
Populates the chart with the specified data to be displayed in the client ui
Declaration
void DisplayData(IEnumerable<ISQLWrapperResult> data)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<ISQLWrapperResult> | data | The results of the chart data to be displayed in the chart |
DisplayDesign(IChart, PivotAxis, SQLWrapperInterpretor, IEnumerable<IPivotFieldInfo>)
Displays the specified chart
design in the client application ui
Declaration
void DisplayDesign(IChart chart, PivotAxis pivotAxis, SQLWrapperInterpretor sqlWrapper, IEnumerable<IPivotFieldInfo> items)
Parameters
Type | Name | Description |
---|---|---|
IChart | chart | The definition of the chart to be displayed |
PivotAxis | pivotAxis | The definition of the axis type for the chart |
SQLWrapperInterpretor | sqlWrapper | The underlying sql wrapper that will be executed to provide the data for the display |
IEnumerable<IPivotFieldInfo> | items | The fields, etc for the chart desgin |
UpdateDesign(IChart)
Updates the display of the chart design to the specified type
Declaration
void UpdateDesign(IChart chart)
Parameters
Type | Name | Description |
---|---|---|
IChart | chart | The chart type to update |