Skip to content

add code snippets showing common usage #3

@heckj

Description

@heckj

The docs are roughed out, but would be notably improved with code snippets showing examples of using scales, and ticks, in action. Some potential paths for consideration:

  • creating a scale for a relevant type (Int, Float, Double, potentially TimeInterval or Date)
  • using a scale to map to a value for drawing purposes
  • using a scale to get a list of tick values - automatic set
  • using a scale to get range values for a preset array of domain values for Ticks
  • using NiceNumber to get a "nice" minimum and maximum value for a range of values in order to build a scale with a "nice" domain

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions