Skip to content

Interface: SurfaceTraceContoursX ​

Contour lines of constant x: drawn in the surface's shader (exact at any zoom), and projected onto the walls with project.

Properties ​

PropertyTypeDefault valueDescription
color?string"#444"Color of the contour lines.
end?numberundefinedLast contour level (with start and size). Default: the x axis ticks.
highlight?booleantrueDraw the contour line of the hovered point's x value while hovering.
highlightcolor?string"#444"Color of the highlight line.
highlightwidth?number2Width of the highlight line, px. Range: 1 – 16
project?SurfaceTraceContoursXProjectundefinedProjections of the contour lines (and highlight lines) onto the axis walls.
show?booleanfalseDraw contour lines of the x coordinates on the surface.
size?numberundefinedStep between contour levels (with start and end). Default: the x axis ticks. Minimum: 0
start?numberundefinedFirst contour level (with end and size). Default: the x axis ticks.
usecolormap?booleanfalseColor the contour lines with the surface's colorscale instead of color.
width?number2Width of the contour lines, px. Range: 1 – 16

Released under the MIT License.