API Reference
ChartColor
Represents an RGBA color used by ChartForgeX renderers.
Inheritance
- Object
- ChartColor
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method ChartExtensions.AddHeroBadgeImageFile
- Method ChartExtensions.AddHeroBadgeImageFile
- Method ChartExtensions.WithPalette
- Method ChartExtensions.WithPalette``1
- Method ImageComposition.Clear
- Method ImageComposition.Create
- Method ImageComposition.DrawCallout
- Method ImageComposition.DrawCallout
- Method ImageComposition.DrawCallout
- Method ImageComposition.DrawDashedLine
- Method ImageComposition.DrawLine
- Method ImageComposition.DrawText
- Method ImageComposition.FillRectangle
- Method ImageComposition.FillRoundedRectangle
- Method ImageComposition.StrokeRectangle
- Method ImageComposition.StrokeRoundedRectangle
- Method VisualCanvas.AddHeroBadge
- Method VisualCanvas.AddHeroBadge
- Method VisualCanvas.AddHeroBadge
- Method VisualCanvas.AddHeroBadge
- Method VisualCanvas.AddInfoTile
- Method VisualCanvas.AddInfoTile
- Method VisualCanvas.AddKeyValueBlock
- Method VisualCanvas.AddKeyValueBlock
- Method VisualCanvas.AddKeyValueBlock
- Method VisualCanvas.AddKeyValueBlock
- Method VisualCanvas.AddText
- Method VisualCanvas.AddText
- Method VisualCanvas.WithBackground
- Method VisualCanvas.WithBackground
- Method VisualCanvas.WithBackground
- Constructor VisualCanvasTextLayer.VisualCanvasTextLayer
- Constructor VisualCanvasTextRun.VisualCanvasTextRun
- Method Chart.AddAdaptiveArea
- Method Chart.AddAdaptiveLine
- Method Chart.AddAdaptiveScatter
- Method Chart.AddArea
- Method Chart.AddArea``1
- Method Chart.AddBar
- Method Chart.AddBarAreaCombo
- Method Chart.AddBarAreaCombo
- Method Chart.AddBarLineCombo
- Method Chart.AddBarLineCombo
- Method Chart.AddBar``1
- Method Chart.AddBoxPlot
- Method Chart.AddBoxPlot
- Method Chart.AddBubble
- Method Chart.AddBullet
- Method Chart.AddCalendarHeatmap
- Method Chart.AddCandlestick
- Method Chart.AddCircle
- Method Chart.AddColumnAreaCombo
- Method Chart.AddColumnAreaCombo
- Method Chart.AddColumnLineCombo
- Method Chart.AddColumnLineCombo
- Method Chart.AddDecimatedArea
- Method Chart.AddDecimatedLine
- Method Chart.AddDecimatedScatter
- Method Chart.AddDottedMap
- Method Chart.AddDumbbell
- Method Chart.AddErrorBar
- Method Chart.AddFunnel
- Method Chart.AddGanttMilestone
- Method Chart.AddGanttMilestone
- Method Chart.AddGanttTask
- Method Chart.AddGanttTask
- Method Chart.AddGauge
- Method Chart.AddHeatmapRow
- Method Chart.AddHeatmapRow
- Method Chart.AddHeatmapRow
- Method Chart.AddHeatmapRows
- Method Chart.AddHeatmapRows
- Method Chart.AddHexbinHeatmapRow
- Method Chart.AddHexbinHeatmapRow
- Method Chart.AddHexbinHeatmapRow
- Method Chart.AddHexbinHeatmapRows
- Method Chart.AddHexbinHeatmapRows
- Method Chart.AddHistogram
- Method Chart.AddHistogram
- Method Chart.AddHistogram``1
- Method Chart.AddHorizontalBand
- Method Chart.AddHorizontalBar
- Method Chart.AddHorizontalLine
- Method Chart.AddLine
- Method Chart.AddLine``1
- Method Chart.AddLollipop
- Method Chart.AddMapBaseLayer
- Method Chart.AddMapBaseLayer
- Method Chart.AddMapBoundaryLayer
- Method Chart.AddMapBoundaryLayer
- Method Chart.AddMapConnector
- Method Chart.AddMapConnector
- Method Chart.AddMapConnectorBetweenPoints
- Method Chart.AddMapRoute
- Method Chart.AddMapRoute
- Method Chart.AddMapRouteBetweenPoints
- Method Chart.AddMeanLine
- Method Chart.AddMedianLine
- Method Chart.AddOhlc
- Method Chart.AddPareto
- Method Chart.AddPareto
- Method Chart.AddPictorial
- Method Chart.AddPointCallout
- Method Chart.AddPointCallout
- Method Chart.AddPolar
- Method Chart.AddProgressBars
- Method Chart.AddRadar
- Method Chart.AddRadialBar
- Method Chart.AddRangeArea
- Method Chart.AddRangeBand
- Method Chart.AddRangeBar
- Method Chart.AddRegionMap
- Method Chart.AddSankey
- Method Chart.AddScatter
- Method Chart.AddScatterLineCombo
- Method Chart.AddScatterLineCombo
- Method Chart.AddScatter``1
- Method Chart.AddSeries``1
- Method Chart.AddSlope
- Method Chart.AddSlope
- Method Chart.AddSmoothArea
- Method Chart.AddSmoothLine
- Method Chart.AddSmoothStackedArea
- Method Chart.AddStackedArea
- Method Chart.AddStandardDeviationBand
- Method Chart.AddStepArea
- Method Chart.AddStepLine
- Method Chart.AddSunburst
- Method Chart.AddTileMap
- Method Chart.AddTimelineItem
- Method Chart.AddTimelineRange
- Method Chart.AddTree
- Method Chart.AddTreemap
- Method Chart.AddTrendLine
- Method Chart.AddVerticalBand
- Method Chart.AddVerticalLine
- Method Chart.AddWaterfall
- Method Chart.AddWordCloud
- Method Chart.WithDashboardTrendFocus
- Method Chart.WithDataLabelConnectorColor
- Method Chart.WithFocusedXAxisCategory
- Method Chart.WithHighlightedXAxisLabel
- Method Chart.WithHighlightedXAxisRange
- Method Chart.WithMapColorScale
- Method Chart.WithMapColorScale
- Method Chart.WithMapColorScale
- Method Chart.WithMapColorScale
- Method Chart.WithMapColorScale
- Method Chart.WithMapRegionStroke
- Constructor ChartAnnotation.ChartAnnotation
- Constructor ChartCalendarHeatmapItem.ChartCalendarHeatmapItem
- Method ChartMapColorScale.Diverging
- Method ChartMapColorScale.Diverging
- Method ChartMapColorScale.Diverging
- Method ChartMapColorScale.Sequential
- Method ChartMapColorScale.Sequential
- Method ChartMapColorScale.WithNoDataColor
- Constructor ChartMapConnector.ChartMapConnector
- Constructor ChartMapConnector.ChartMapConnector
- Constructor ChartMapLayer.ChartMapLayer
- Constructor ChartMapLayer.ChartMapLayer
- Constructor ChartMapPoint.ChartMapPoint
- Constructor ChartMapPoint.ChartMapPoint
- Constructor ChartPictorialItem.ChartPictorialItem
- Constructor ChartProgressItem.ChartProgressItem
- Constructor ChartRadialLayer.ChartRadialLayer
- Method ChartRadialLayer.Create
- Method ChartRadialLayer.WithColor
- Method ChartRadialLayer.WithSeparators
- Method ChartRadialLayers.Add
- Constructor ChartRegionMapItem.ChartRegionMapItem
- Method ChartSeries.WithColor
- Method ChartSeries.WithPointColor
- Method ChartSeries.WithPointColorRange
- Constructor ChartWordCloudItem.ChartWordCloudItem
- Method ChartColor.TryFromHex
- Method ChartColor.TryParse
- Method ChartColors.TryGet
- Method ChartBrandKit.WithGuideColors
- Method ChartBrandKit.WithGuideColors
- Method ChartBrandKit.WithPalette
- Method ChartBrandKit.WithSemanticColors
- Method ChartBrandKit.WithSemanticColors
- Method ChartBrandKit.WithSemanticColors
- Method ChartBrandKit.WithSurfaceColors
- Method ChartBrandKit.WithSurfaceColors
- Method ChartBrandKit.WithSurfaceColors
- Method ChartBrandKit.WithSurfaceColors
- Method ChartBrandKit.WithSurfaceColors
- Method ChartBrandKit.WithTextColors
- Method ChartBrandKit.WithTextColors
- Method ChartTheme.WithGuideColors
- Method ChartTheme.WithGuideColors
- Method ChartTheme.WithPalette
- Method ChartTheme.WithSemanticColors
- Method ChartTheme.WithSemanticColors
- Method ChartTheme.WithSemanticColors
- Method ChartTheme.WithShadowColor
- Method ChartTheme.WithSurfaceColors
- Method ChartTheme.WithSurfaceColors
- Method ChartTheme.WithSurfaceColors
- Method ChartTheme.WithSurfaceColors
- Method ChartTheme.WithSurfaceColors
- Method ChartTheme.WithTextColors
- Method ChartTheme.WithTextColors
- Method TextStyle.Create
- Method TextStyleOverride.WithColor
- Method ChartTableCell.WithBadge
- Method ChartTableCell.WithMiniBars
- Method ChartTableCell.WithSparkline
- Method DateStripBlock.AddItem
- Method EntityStripBlock.AddItem
- Method HeatmapInsightCard.WithColorKey
- Method HeatmapInsightCard.WithColorKey
- Method MetricCard.WithMiniBars
- Method MetricCard.WithMiniBars
- Method MetricCard.WithMiniSparkline
- Method MetricCard.WithMiniSparkline
- Method MetricCard.WithSecondaryMiniSparkline
- Method RadialMetricCard.AddLayer
- Method ScheduleTimelineBlock.AddEvent
- Constructor ScheduleTimelineEvent.ScheduleTimelineEvent
- Method SegmentedMetricBlock.AddItem
- Method SegmentedMetricBlock.WithActionStyle
- Method SegmentedMetricBlock.WithActionStyle
- Method SegmentedMetricItem.WithColor
- Method WorkloadListBlock.AddPerson
- Constructor WorkloadListRow.WorkloadListRow
Constructors
ChartColor(System.Byte r, System.Byte g, System.Byte b, System.Byte a) #Initializes a new instance of the ChartColor struct.
Parameters
- r System.Byte
- The red channel.
- g System.Byte
- The green channel.
- b System.Byte
- The blue channel.
- a System.Byte
- The alpha channel.
Methods
Deconstruct(System.Byte@ r, System.Byte@ g, System.Byte@ b, System.Byte@ a) #Deconstructs the color into red, green, blue, and alpha channels.
Parameters
- r System.Byte@
- The red channel.
- g System.Byte@
- The green channel.
- b System.Byte@
- The blue channel.
- a System.Byte@
- The alpha channel.
FromArgb(System.Byte a, System.Byte r, System.Byte g, System.Byte b) #Creates a color from explicit alpha, red, green, and blue channels.
Parameters
- a System.Byte
- The alpha channel.
- r System.Byte
- The red channel.
- g System.Byte
- The green channel.
- b System.Byte
- The blue channel.
Returns
A chart color.
FromArgb(System.UInt32 argb) #Creates a color from a packed 0xAARRGGBB value.
Parameters
- argb System.UInt32
- The packed ARGB color.
Returns
A chart color.
FromArgb(System.Int32 argb) #Creates a color from a packed 0xAARRGGBB value.
Parameters
- argb System.Int32
- The packed ARGB color.
Returns
A chart color.
FromHex(System.String hex) #Creates a color from #RGB, #RGBA, #RRGGBB, or #RRGGBBAA notation.
Parameters
- hex System.String
- The hexadecimal color string.
Returns
A chart color.
FromRgb(System.Byte r, System.Byte g, System.Byte b) #Creates an opaque RGB color.
Parameters
- r System.Byte
- The red channel.
- g System.Byte
- The green channel.
- b System.Byte
- The blue channel.
Returns
An opaque chart color.
FromRgba(System.Byte r, System.Byte g, System.Byte b, System.Byte a) #Creates a color with an explicit alpha channel.
Parameters
- r System.Byte
- The red channel.
- g System.Byte
- The green channel.
- b System.Byte
- The blue channel.
- a System.Byte
- The alpha channel.
Returns
A chart color.
FromRgba(System.UInt32 rgba) #Creates a color from a packed 0xRRGGBBAA value.
Parameters
- rgba System.UInt32
- The packed RGBA color.
Returns
A chart color.
Parse(System.String value) #Parses a named color or a hexadecimal color string.
Parameters
- value System.String
- The named color or hexadecimal color string.
Returns
A chart color.
ToArgbInt32() #Converts the color to a packed 0xAARRGGBB signed integer.
Returns
The packed ARGB color as a signed integer.
ToHex() #Converts the color to a hexadecimal RGB string.
Returns
A CSS-compatible hexadecimal color string.
ToHexRgba() #Converts the color to a hexadecimal RGBA string.
Returns
A CSS-compatible hexadecimal color string with alpha.
TryFromHex(System.String hex, ChartForgeX.Primitives.ChartColor@ color) #Attempts to create a color from #RGB, #RGBA, #RRGGBB, or #RRGGBBAA notation.
Parameters
- hex System.String
- The hexadecimal color string.
- color ChartForgeX.Primitives.ChartColor@
- The parsed chart color.
Returns
True when parsing succeeds.
TryParse(System.String value, ChartForgeX.Primitives.ChartColor@ color) #Attempts to parse a named color or a hexadecimal color string.
Parameters
- value System.String
- The named color or hexadecimal color string.
- color ChartForgeX.Primitives.ChartColor@
- The parsed chart color.
Returns
True when parsing succeeds.
WithAlpha(System.Byte alpha) #Creates a copy of this color with a different alpha channel.
Parameters
- alpha System.Byte
- The alpha channel.
Returns
A chart color with the requested alpha channel.
WithOpacity(System.Double opacity) #Creates a copy of this color with opacity expressed as a unit interval.
Parameters
- opacity System.Double
- The opacity from zero to one.
Returns
A chart color with the requested opacity.