Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Axis mark does not accept ticks prop #73

Closed
@jamesscottbrown

Description

@jamesscottbrown

There is a significant difference in the API for theAxis between Svelte Plot and Observable Plot.

In Observable Plot:

By default, the data for an axis mark are tick values sampled from the associated scale’s domain. If desired, you can specify the data explicitly (e.g. as an array of numbers), or use one of the following options:

ticks - the approximate number of ticks to generate, or interval, or array of values
tickSpacing - the approximate number of pixels between ticks (if ticks is not specified)
interval - an interval or time interval

Theticks option is not present in SveltePlot, which breaks automatic translation of some examples:

(This is one of the issues surfaced by#72)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp