Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDocument the context properties for ticks #7399
Open
+109
−47
Conversation
|
If you say "closes #7337" in the PR description then it will automatically get closed when this gets merged |
docs/docs/axes/styling.md
Outdated
|
|
||
| ## Indexable Options | ||
|
|
||
| Indexable options also accept an array in which each item corresponds to the element at the same index. Note that this method requires to provide as many items as data, so, in most cases, using a [function](#scriptable-options) is more appropriated if supported. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
|
||
| ## Indexable Options | ||
|
|
||
| Indexable options also accept an array in which each item corresponds to the element at the same index. Note that if there are less items than data, the items are looped over. In many cases, using a [function](#scriptable-options) is more appropriated if supported. |
This comment has been minimized.
This comment has been minimized.
| @@ -20,7 +20,7 @@ color: function(context) { | |||
|
|
|||
| ## Indexable Options | |||
|
|
|||
| Indexable options also accept an array in which each item corresponds to the element at the same index. Note that this method requires to provide as many items as data, so, in most cases, using a [function](#scriptable-options) is more appropriated if supported. | |||
| Indexable options also accept an array in which each item corresponds to the element at the same index. Note that if there are less items than data, the items are looped over. In many cases, using a [function](#scriptable-options) is more appropriated if supported. | |||
This comment has been minimized.
This comment has been minimized.
| @@ -55,3 +46,68 @@ The majorTick configuration is nested under the ticks configuration in the `majo | |||
| | Name | Type | Default | Description | |||
| | ---- | ---- | ------- | ----------- | |||
| | `enabled` | `boolean` | `false` | If true, major ticks are generated. A major tick will affect autoskipping and `major` will be defined on ticks in the scriptable options context. | |||
|
|
|||
| ## Indexable Options | |||
This comment has been minimized.
This comment has been minimized.
benmccann
Jun 4, 2020
Collaborator
Maybe we should just refer to general/options.md here instead of duplicating this part?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
kurkle commentedMay 22, 2020
•
edited
Closes: #7337