Temporal
class Temporal<DOMAIN>(accessor: Datum<DOMAIN>.() -> Instant, parentDimension: Temporal<DOMAIN>?, init: Temporal<DOMAIN>.() -> Unit) : ContinuousDimension<DOMAIN, Instant>
Content copied to clipboard
Temporal is a Dimension that is used to manage continuous time values (as LocalDateTime) It is build by giving an "accessor" lambda that returns a LocalDateTime object from a given Datum of a <DOMAIN>.
Use the Chart.temporal function to build a Temporal dimension.
Examples:
val dateDimension = temporal( { domain.date } )
Constructors
Functions
Properties
isContinuous
Link copied to clipboard
Is this Dimension considered "continuous"?
isDiscrete
Link copied to clipboard
Is this Dimension considered "discrete"?