{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Secondary Axis","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":true,"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"secondary-axis","__idx":0},"children":["Secondary Axis"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This tutorial demonstrates how to use secondary axis."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SecondaryTickGenerator utilizes \"primaryValues-to-secondaryValues\" mapping to generate ticks/labels linearly spaced in secondary model space, so that distance between major ticks/labels in the space is equal to \"majorStep\" (or \"minorStep\" for minor ticks/labels correspondingly)."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Note, that linear spacing in secondary space does not mean linear spacing in primary space (which is model space set on the axis's parent group)."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The example contains one axis (left-most) with NumericLinearTickGenerator as a reference one. The other three axes are built on SecondaryTickGenerator. All of them have the same mapping and major/minor steps. However, the first of them shows ticks and labels for depth ranges growing downwards; the second, for depth ranges growing upwards; and the last, for all of the depth ranges in the \"primaryValues-to-secondaryValues\" mapping"]}]},"headings":[{"value":"Secondary Axis","id":"secondary-axis","depth":1}],"frontmatter":{"title":"Secondary Axis","seo":{"title":"Secondary Axis"}},"lastModified":"2026-02-11T19:54:32.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/geotoolkit/tutorials/carnac/misc/secondary-axis","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}