Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1012 Bytes

coordinates.md

File metadata and controls

47 lines (38 loc) · 1012 Bytes

Coordinates

Coordinates is a basic building element in Taucharts specification.

There are many types of coordinates:

  • Cartesian
  • Polar
  • Parallel
  • Polar parallel
  • Triangular (Barycentric)
  • Spherical
  • Cylindrical
  • Local / Global Maps
  • 3D

For now Taucharts supports Cartesian coordinates only — the most popular coordinate system.

In Taucharts cartesian coordinates are specified using COORDS.RECT type:

{
    type: "COORDS.RECT"
    ...
    unit: [...]
}

You can embed a coordinate element inside another coordinate element recursively to build a Facet plot.

Coordinate element is a container for geometry elements like point or line. Use unit property to compose elements:

{
    type: "COORDS.RECT"
    ...
    unit: [
        {
            type: "ELEMENT.POINT"
        },
        {
            type: "ELEMENT.LINE"
        }
    ]
}

Coordinate element has a rich visual guide settings. Check them out.