-
Notifications
You must be signed in to change notification settings - Fork 524
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ In this guide, we’ll show you how to get started with Victory and walk you thr | |
|
||
You can do this on your own if you'd like, or you can... | ||
|
||
* Clone down [this project we've started for you](https://github.com/FormidableLabs/victory-tutorial) using ```git clone [email protected]:FormidableLabs/victory-tutorial.git``` | ||
* Clone down [this project we've started for you](https://github.com/FormidableLabs/victory-tutorial) using `git clone [email protected]:FormidableLabs/victory-tutorial.git` | ||
* `cd victory-tutorial` | ||
* Replace the existing code in the `client.js` file with: | ||
|
||
|
@@ -153,6 +153,8 @@ class App extends React.Component { | |
ReactDOM.render(<App/>, mountNode); | ||
``` | ||
|
||
While the axes defaults are great, you can see there's some overlap with the y-axis and first bar. Let's fix that in the next section. | ||
|
||
#### 6. Customize the axes | ||
|
||
Next, let's modify the tick labels on the axes to be a little more descriptive. We can do this by adding and configuring `VictoryAxis` components to our chart, so let's import `VictoryAxis`. Import statements should now look like this: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters