Skip to content
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

tick-rotate not working when axis-rotate="true" #151

Open
ljerka opened this issue Dec 8, 2016 · 0 comments
Open

tick-rotate not working when axis-rotate="true" #151

ljerka opened this issue Dec 8, 2016 · 0 comments

Comments

@ljerka
Copy link

ljerka commented Dec 8, 2016

I'm trying to rotate ticks on x-axes, but am not able to. When chart-axis isn't rotated, it rotates x-axes ticks, but not y-axes ticks. When chart-axis is rotated, neither x nor y-axes ticks are rotated. Here is the code:

<c3chart bindto-id="chart1">
    <chart-column column-id="x"/>
    <chart-column column-id="bar1" column-values="{{ chart.bar1 }}" column-type="bar"/>
    <chart-column column-id="bar2" column-values="{{ chart.bar2 }}" column-type="bar"/>
    <chart-axes values-x="x"/>
    <chart-axis axis-rotate="true">
        <chart-axis-x axis-position="outer-center" axis-label="" axis-type="category">
            <chart-axis-x-tick tick-rotate="45"/>
        </chart-axis-x>
        <chart-axis-y>
            <chart-axis-y-tick tick-rotate="45"/>
        </chart-axis-y>
    </chart-axis>
</c3chart>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant