0.0.4 • Published 3 years ago

highcharts-extra-label-format v0.0.4

Weekly downloads
1
License
ISC
Repository
github
Last release
3 years ago

highcharts-extra-label-format

This package adds on more format string options available to Highcharts.

Duration Format Strings

Format: %D<durationUnit><modifier>

Duration Units:

Refers to the component of a duration that is desired.

Available Options:

  • s: second
  • m: minute
  • h: hour
  • d: day

Modifiers:

Depends on usage of format string.

  • t: Total rounded to the nearest integer. Used for displaying a single unit of duration.

Example:

  • p: The specified component of the duration with range depending on specified unit. Used when combining duration format strings for non-leading units.
  • c: The specified component of the duration without range limitation. Used when combining duration format strings for leading unit.

Example:

Note how the p modifier is used for the number of seconds to keep it under 60 seconds since the extra seconds would be captured by the minutes format string in this example.

0.0.4

3 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago