-
Notifications
You must be signed in to change notification settings - Fork 611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Axis properties #1290
Axis properties #1290
Conversation
@@ -195,6 +195,14 @@ export function tickSize(model: Model, channel: Channel) { | |||
return undefined; | |||
} | |||
|
|||
export function tickSizeEnd(model: Model, channel: Channel) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You still haven't modified the top of this file (line 86) as suggested earlier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
return labelsSpec || undefined; | ||
} | ||
|
||
export function ticks(model: Model, channel: Channel, ticksPropsSpec, def) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's remove def
from all of these methods if it's not used. (If it's used like labels()
, we can leave it in.)
did I press some wrong buttons? why is it closed? |
All the properties are tested in editor |
LGTM. One last thing. Can you add documentation for these added properties? |
Documentation added |
@@ -249,7 +249,7 @@ vg.embed('#horizontal_line', { | |||
| Property | Type | Description | | |||
| :------------------ |:-------------------:| :------------| | |||
| font | String | The typeface to set the text in (e.g., `Helvetica Neue`).| | |||
| fontSize | Number | The font size, in pixels. The default value is 10. | | |||
| fontSize | Number | The font size, in pixels. The default value is 10. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are there whitespace in the front of this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry that is a typo, just fixed it.
🎉 |
* master: Update integrations.md Add new legend properties (#1302) Axis properties (#1290) add documentation (#1334) Tick mark orient inverted (#1293) Size support stack (#1312) Make CellConfig.strokeDash an array Remove example with log scale that is not meant to be a showcase Correct a typo in size scales description (#1308) Add tickSizeRange fixing #1298 (#1299)
Support more properties for axis