Class ChartItem
A printable report item that builds and renders a chart from expression-driven data series,
accumulating values, captions and colors as the subreport iterates and drawing the result
through the report's charting driver.
Assembly: Reportman.Reporting.dll
Syntax
public class ChartItem : PrintItemText, IDisposable
Constructors
View Source
ChartItem()
Declaration
Fields
View Source
DrawHelper
Declaration
Field Value
View Source
SeriesColors
Declaration
public int[] SeriesColors
Field Value
Properties
View Source
AutoRange
Declaration
public Series.AutoRangeAxis AutoRange { get; set; }
Property Value
View Source
AxisYFinal
Declaration
public double AxisYFinal { get; set; }
Property Value
View Source
AxisYInitial
Declaration
public double AxisYInitial { get; set; }
Property Value
View Source
CaptionExpression
Declaration
public string CaptionExpression { get; set; }
Property Value
View Source
ChangeSerieBool
Declaration
public bool ChangeSerieBool { get; set; }
Property Value
View Source
ChangeSerieExpression
Declaration
public string ChangeSerieExpression { get; set; }
Property Value
View Source
ChartStyle
Declaration
public ChartType ChartStyle { get; set; }
Property Value
View Source
ClearExpression
Declaration
public string ClearExpression { get; set; }
Property Value
View Source
ClearExpressionBool
Declaration
public bool ClearExpressionBool { get; set; }
Property Value
View Source
ColorExpression
Declaration
public string ColorExpression { get; set; }
Property Value
View Source
Driver
Declaration
public ChartDriver Driver { get; set; }
Property Value
View Source
Elevation
Declaration
public int Elevation { get; set; }
Property Value
View Source
GetValueCondition
Declaration
public string GetValueCondition { get; set; }
Property Value
View Source
HorzFontRotation
Declaration
public int HorzFontRotation { get; set; }
Property Value
View Source
HorzFontSize
Declaration
public int HorzFontSize { get; set; }
Property Value
View Source
HorzOffset
Declaration
public int HorzOffset { get; set; }
Property Value
View Source
Identifier
Declaration
public string Identifier { get; set; }
Property Value
View Source
MarkStyle
Declaration
public int MarkStyle { get; set; }
Property Value
View Source
MultiBar
Declaration
public BarType MultiBar { get; set; }
Property Value
View Source
Orthogonal
Declaration
public bool Orthogonal { get; set; }
Property Value
View Source
Perspective
Declaration
public int Perspective { get; set; }
Property Value
View Source
Resolution
Declaration
public int Resolution { get; set; }
Property Value
View Source
Rotation
Declaration
public int Rotation { get; set; }
Property Value
View Source
SerieCaption
Declaration
public string SerieCaption { get; set; }
Property Value
View Source
SerieColorExpression
Declaration
public string SerieColorExpression { get; set; }
Property Value
View Source
ShowHint
Declaration
public bool ShowHint { get; set; }
Property Value
View Source
ShowLegend
Declaration
public bool ShowLegend { get; set; }
Property Value
View Source
Tilt
Declaration
public int Tilt { get; set; }
Property Value
View Source
ValueExpression
Declaration
public string ValueExpression { get; set; }
Property Value
View Source
ValueXExpression
Declaration
public string ValueXExpression { get; set; }
Property Value
View Source
VertFontRotation
Declaration
public int VertFontRotation { get; set; }
Property Value
View Source
VertFontSize
Declaration
public int VertFontSize { get; set; }
Property Value
View Source
VertOffset
Declaration
public int VertOffset { get; set; }
Property Value
View Source
View3d
Declaration
public bool View3d { get; set; }
Property Value
View Source
View3dWalls
Declaration
public bool View3dWalls { get; set; }
Property Value
View Source
Zoom
Declaration
public int Zoom { get; set; }
Property Value
Methods
View Source
CheckValueCondition()
Declaration
public bool CheckValueCondition()
Returns
View Source
Clear()
Declaration
View Source
This procedure will print the item into the MetaFile, internal implementation
Declaration
protected override void DoPrint(PrintOut adriver, int aposx, int aposy, int newwidth, int newheight, MetaFile metafile, Point MaxExtent, ref bool PartialPrint)
Parameters
| Type |
Name |
Description |
| PrintOut |
adriver |
Report processing driver
|
| int |
aposx |
Horizontal position in twips
|
| int |
aposy |
Vertical position in twips
|
| int |
newwidth |
Width of the bounding box in twips
|
| int |
newheight |
Height of the bounding box in twips
|
| MetaFile |
metafile |
Destination MetaFile
|
| Point |
MaxExtent |
Maximum extension
|
| bool |
PartialPrint |
Returns true if some text will expand multiple pages
|
Overrides
View Source
EvaluateChangeSerieExpression()
Declaration
public bool EvaluateChangeSerieExpression()
Returns
View Source
EvaluateClearExpression()
Declaration
public void EvaluateClearExpression()
View Source
EvaluateSerieCaption()
Declaration
public Variant EvaluateSerieCaption()
Returns
View Source
GetClassName()
Internal function to determine the object type name
Declaration
protected override string GetClassName()
Returns
| Type |
Description |
| string |
Object type name
|
Overrides
View Source
GraphicBounds(bool, bool, double, double, bool, double, bool)
Declaration
public void GraphicBounds(bool autol, bool autoh, double lvalue, double hvalue, bool logaritmic, double logBase, bool inverted)
Parameters
View Source
GraphicColor(int)
Declaration
public void GraphicColor(int newcolor)
Parameters
| Type |
Name |
Description |
| int |
newcolor |
|
View Source
GraphicSerieColor(int)
Declaration
public void GraphicSerieColor(int newcolor)
Parameters
| Type |
Name |
Description |
| int |
newcolor |
|
View Source
NewFunction(string, string, string)
Declaration
public void NewFunction(string functionName, string functionParams, string serieCaption)
Parameters
View Source
NewValue(double, bool, string, string)
Declaration
public void NewValue(double newvalue, bool seriechange, string valuecaption, string seriecaption)
Parameters
View Source
NewValueXY(object, double, bool, string, string)
Declaration
public void NewValueXY(object newvalueX, double newvalue, bool seriechange, string valuecaption, string seriecaption)
Parameters
View Source
SetReport(BaseReport)
Declaration
public override void SetReport(BaseReport rp)
Parameters
Overrides
View Source
SubReportChanged(SubReportEvent, string)
This event is generated while report is processing to allow the report items to update contents
Declaration
public override void SubReportChanged(SubReportEvent newstate, string newgroup)
Parameters
| Type |
Name |
Description |
| SubReportEvent |
newstate |
New state for the subreport
|
| string |
newgroup |
New group if apply
|
Overrides
Implements