# ChartTimedValue

A value observed at an instant, such as one sign-in failure or one collected sample.

 Struct  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartTimedValue.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimedValue.cs#L12)

**Base**

`ValueType`

**Modifiers**

sealed

A value observed at an instant, such as one sign-in failure or one collected sample.

## Inheritance

- ValueType
- ChartTimedValue

## Usage

 Explore 1 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 1

- Method [Chart.AddHourWeekdayHeatmap](/api/chartforgex-core-chart/#method-addhourweekdayheatmap-collections-generic-ienumerable-chartforgex-core-charttimedvalue-chartforgex-core-charttimeaggregation-timezoneinfo-dayofweek-nullable-chartforgex-primitives-chartcolor-collections-generic-ireadonlylist-system-string-string) parameter `values`

 Filter members   

    Show inherited   

 

## Constructors

 `public ChartTimedValue(DateTime timestamp, double value = 1)` [#](#constructor-ctor-datetime-double) 

[ChartTimedValue.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimedValue.cs#L12)

Initializes a timed value. DateTimeKind.Local timestamps are converted to UTC; DateTimeKind.Unspecified timestamps are treated as UTC.

Parameters

**timestamp System.DateTime required**

When the value was observed.

**value double = 1 optional**

The observed value. Use 1 for event counts.

## Inherited Methods

 `public override bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from ValueType

Parameters

**obj object? required**

Returns

 `bool` 

 `public override int GetHashCode()` [#](#method-gethashcode) 

Inherited from ValueType

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public override string? ToString()` [#](#method-tostring) 

Inherited from ValueType

Returns

 `string?` 

## Properties

 `public DateTime Timestamp { get; }` [#](#property-timestamp) 

[ChartTimedValue.cs:18](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimedValue.cs#L18)

Gets the UTC timestamp.

 `public double Value { get; }` [#](#property-value) 

[ChartTimedValue.cs:21](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartTimedValue.cs#L21)

Gets the observed value.

<!-- PowerForge markdown artifact sha256:4B8EFB231DD7C723865883C293177369806F64F9E664F45C745ECB2D2363A3A2 -->
