Histogram Class

Histogram user-interface element.
Public Class Histogram 
Inherits BarBase 
Implements ICloneable
This language is not supported or no code example is available.
public class Histogram : BarBase
ICloneable
This language is not supported or no code example is available.
Name Description
Public property AverageLineColor Gets or sets the color of the average mark.
Public property BackgroundColor Gets or sets the color of the background columns.
Public property ColumnColor Gets or sets the color of the foreground columns.
Public property ColumnHeight Gets or sets the column's height in pixels.
Public property ColumnWidth Gets or sets the column's width in pixels.
Protected property CustomViewport Tells if the UI element is drawn with a custom viewport. (inherited from UserInterfaceBase).
Public property Disposed (inherited from DisposableBase).
Public property FormatString Value's numeric format. Useful to change number format and decimal places.
Public property HighlightColor Gets or sets the highlighted color of the diagram. A column becomes highlighted when hovering over it.
Public property HistogramData Gets or sets the Histogram that contains the data to be displayed.
Public property Lighting Gets or sets lighting status. Affects the look of the diagram.
Protected property LocationAtOrigin When doing a render to Bitmap of the item, must not change the viewport origin. (inherited from UserInterfaceBase).
Internal protected (Protected Friend) property ParentViewport (inherited from UserInterfaceBase).
Public property ShowAverage Gets or sets the average mark visibility status.
Public property TextColor Gets or sets the color used to draw texts for this diagram. Ignored when Lighting is set to false.
Public property Title Gets or sets the title's string. The title is shown on the top-left corner of the diagram.
Public property Visible Gets or sets the visibility status.
Top
Methods
 
Name Description
Public method Clone()
Public method Contains(Point) Tells if a point in viewport coordinates is over one of the buttons. (inherited from BarBase).
Public method Dispose()
Internal protected (Protected Friend) method Draw(DrawSceneParams)
Protected method DrawForBitmap(object) (inherited from BarBase).
Public method Equals(Object) (inherited from Object).
Protected method Finalize (inherited from Object).
Public method GetBounds(Viewport) Gets the bounds rectangle in screen coordinates.
Internal protected (Protected Friend) method GetDefaultLayerName(Workspace) Use this method to get the correct layer name for internal Meshes. (inherited from UserInterfaceBase).
Public method GetHashCode (inherited from Object).
Public method GetThumbnail(Viewport, Size, Color) (inherited from BarBase).
Public method GetType (inherited from Object).
Protected method Hover(Workspace, ToolBarButton) (inherited from BarBase).
Protected method MemberwiseClone (inherited from Object).
Protected method OnMouseDown(Workspace, MouseEventArgs) (inherited from BarBase).
Protected method Static Repaint(Workspace)
Public method ScaleForDPI() Scales the element for high DPI settings. (inherited from UserInterfaceBase).
Public method ToString (inherited from Object).
Public method Update(IUserInterfaceElement)
Top

.NET Framework

Supported in: 4.7.2

In this article

Definition