Class ContinuousHighlight
Highlight all cells depending on value
Inheritance
System.Object
ContinuousHighlight
Assembly: FastReport.Olap.dll
Syntax
public class ContinuousHighlight : GraphicHighlight
Constructors
ContinuousHighlight(CustomHighlights)
Declaration
public ContinuousHighlight(CustomHighlights owner)
Parameters
Fields
kindStr
Declaration
public static string[] kindStr
Field Value
| Type |
Description |
| System.String[] |
|
Properties
BarAxisColor
Declaration
public Color BarAxisColor { get; set; }
Property Value
| Type |
Description |
| System.Drawing.Color |
|
BarAxisPosition
Axis position to split positive and negative value bars
Declaration
public ContinuousHighlightBarAxisPosition BarAxisPosition { get; set; }
Property Value
BarColor
Declaration
public Color BarColor { get; set; }
Property Value
| Type |
Description |
| System.Drawing.Color |
|
Caption
Declaration
public override string Caption { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
FrameColor
Color of the bar chart frame
Declaration
public Color FrameColor { get; set; }
Property Value
| Type |
Description |
| System.Drawing.Color |
|
GradientDraw
Draw bar chart with gradient from BarColor
Declaration
public bool GradientDraw { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
HideValue
Declaration
public override bool HideValue { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
IconSet
Declaration
public string IconSet { get; set; }
Property Value
| Type |
Description |
| System.String |
|
IconSets
Declaration
public static Dictionary<string, IconSetPreset> IconSets { get; }
Property Value
| Type |
Description |
| System.Collections.Generic.Dictionary<System.String, IconSetPreset> |
|
IconSetsByIndex
Declaration
public static List<string> IconSetsByIndex { get; }
Property Value
| Type |
Description |
| System.Collections.Generic.List<System.String> |
|
ImageCount
Declaration
public int ImageCount { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Images
Declaration
public ImageList Images { get; }
Property Value
| Type |
Description |
| System.Windows.Forms.ImageList |
|
IsCustomDrawn
Declaration
public override bool IsCustomDrawn { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
Kind
Kind of continuous highlight
Declaration
public ContinuousHighlightKind Kind { get; set; }
Property Value
MaxValue
Declaration
public double MaxValue { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
MaxValueColor
Declaration
public Color MaxValueColor { get; set; }
Property Value
| Type |
Description |
| System.Drawing.Color |
|
MaxValueType
Declaration
public ContinuousHighlightValueType MaxValueType { get; set; }
Property Value
MidValue
Declaration
public double MidValue { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
MidValueColor
Declaration
public Color MidValueColor { get; set; }
Property Value
| Type |
Description |
| System.Drawing.Color |
|
MidValueType
Declaration
public ContinuousHighlightValueType MidValueType { get; set; }
Property Value
MinValue
Declaration
public double MinValue { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
MinValueColor
Declaration
public Color MinValueColor { get; set; }
Property Value
| Type |
Description |
| System.Drawing.Color |
|
MinValueType
Declaration
public ContinuousHighlightValueType MinValueType { get; set; }
Property Value
NegativeBarColor
Color for negative values of the bar chart
Declaration
public Color NegativeBarColor { get; set; }
Property Value
| Type |
Description |
| System.Drawing.Color |
|
NegativeBarColorIsEmpty
Declaration
public bool NegativeBarColorIsEmpty { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
NegativeFrameColor
Color of the negative values frame of the bar chart
Declaration
public Color NegativeFrameColor { get; set; }
Property Value
| Type |
Description |
| System.Drawing.Color |
|
NegativeFrameColorIsEmpty
Declaration
public bool NegativeFrameColorIsEmpty { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
ShowCellValue
Declaration
public bool ShowCellValue { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
AcceptCell(MeasureCell)
Declaration
public override bool AcceptCell(MeasureCell cell)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
Assign(CustomHighlight)
Declaration
public override void Assign(CustomHighlight source)
Parameters
Overrides
DrawExample(Graphics, Rectangle)
Declaration
public override void DrawExample(Graphics g, Rectangle r)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
r |
|
Overrides
DrawIconSet(Graphics, Rectangle, String)
Draw IconSet with the given name on the graphics rectangle
Declaration
public void DrawIconSet(Graphics g, Rectangle r, string name)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
Graphics to draw on
|
| System.Drawing.Rectangle |
r |
Rectangle where to draw
|
| System.String |
name |
IconSet name
|
DrawValue(Graphics, Rectangle, MeasureCell, ref Boolean, ref Boolean)
Declaration
public override void DrawValue(Graphics g, Rectangle r, MeasureCell Value, ref bool CanDrawImage, ref bool CanDrawText)
Parameters
| Type |
Name |
Description |
| System.Drawing.Graphics |
g |
|
| System.Drawing.Rectangle |
r |
|
| MeasureCell |
Value |
|
| System.Boolean |
CanDrawImage |
|
| System.Boolean |
CanDrawText |
|
Overrides
GetImageIndex(Int32)
Declaration
public int GetImageIndex(int icon)
Parameters
| Type |
Name |
Description |
| System.Int32 |
icon |
icon index
|
Returns
| Type |
Description |
| System.Int32 |
image index
|
GetImageInfo(Int32)
Get string representation for particular icon
Declaration
public string GetImageInfo(int icon)
Parameters
| Type |
Name |
Description |
| System.Int32 |
icon |
icon index
|
Returns
| Type |
Description |
| System.String |
string representation
|
GetImageValue(Int32)
Declaration
public double GetImageValue(int icon)
Parameters
| Type |
Name |
Description |
| System.Int32 |
icon |
icon index
|
Returns
| Type |
Description |
| System.Double |
value
|
GetImageValueCondition(Int32)
Get icon compare condition
Declaration
public ContinuousHighlightIconCondition GetImageValueCondition(int icon)
Parameters
| Type |
Name |
Description |
| System.Int32 |
icon |
icon index
|
Returns
GetImageValueType(Int32)
Declaration
public ContinuousHighlightValueType GetImageValueType(int icon)
Parameters
| Type |
Name |
Description |
| System.Int32 |
icon |
icon index
|
Returns
GetStyleFor(MeasureCell)
Declaration
public override Style GetStyleFor(MeasureCell Value)
Parameters
Returns
Overrides
Load(XmlItem)
Declaration
public override void Load(XmlItem item)
Parameters
Overrides
LoadPreset(ContinuousHighlightKind, String)
Declaration
public bool LoadPreset(ContinuousHighlightKind kind, string name)
Parameters
Returns
| Type |
Description |
| System.Boolean |
Success or fail
|
Save(XmlItem)
Declaration
public override void Save(XmlItem item)
Parameters
Overrides
SetImageIndex(Int32, Int32)
Declaration
public void SetImageIndex(int icon, int imageIndex)
Parameters
| Type |
Name |
Description |
| System.Int32 |
icon |
|
| System.Int32 |
imageIndex |
|
SetImageReverseOrder()
Reverse icon direction for IconSet kind
Declaration
public void SetImageReverseOrder()
SetImageValue(Int32, Double)
Declaration
public void SetImageValue(int icon, double value)
Parameters
| Type |
Name |
Description |
| System.Int32 |
icon |
|
| System.Double |
value |
|
SetImageValueCondition(Int32, ContinuousHighlightIconCondition)
Declaration
public void SetImageValueCondition(int icon, ContinuousHighlightIconCondition value)
Parameters
SetImageValueType(Int32, ContinuousHighlightValueType)
Declaration
public void SetImageValueType(int icon, ContinuousHighlightValueType value)
Parameters
StyleChanged(Object, EventArgs)
Declaration
protected override void StyleChanged(object sender, EventArgs e)
Parameters
| Type |
Name |
Description |
| System.Object |
sender |
|
| System.EventArgs |
e |
|
Overrides
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Overrides
System.Object.ToString()