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

Persist order in stacked bar chart #105

vladminsky opened this issue Oct 27, 2015 · 1 comment

Persist order in stacked bar chart #105

vladminsky opened this issue Oct 27, 2015 · 1 comment


Copy link

@vladminsky vladminsky commented Oct 27, 2015

There is a weekly velocity chart on plan, sometimes it shows bugs on top / stories on the bottom. Other times its reversed, stories on top / bugs on the bottom. Why?

Copy link
Contributor Author

@vladminsky vladminsky commented Mar 23, 2016

By default stacked bars order is inferred from data order. Once the order is explicitly specified in dimension - it is used instead of default.

        var chart0 = new tauCharts.Chart({
            dimensions: {
                c: {'type': 'category', 'scale': 'ordinal', 'order': ['C3', 'C1', 'C2']},
                x: {'type': 'category', 'scale': 'ordinal'},
                y: {'type': 'measure', 'scale': 'linear'}
            type: 'stacked-bar',
            data: [
                {x: 'A', y: 1, c: 'C1'},
                {x: 'A', y: 2, c: 'C2'},
                {x: 'A', y: 3, c: 'C3'}
            x: 'x',
            y: 'y',
            color: 'c'
        chart0.renderTo(div, size);
vladminsky added a commit that referenced this issue Mar 29, 2016
- Make time scale nice (#145)
- The "autoScale" property is deprecated (use "nice" instead)
- Remove shades for bars in Safari
- Allow to specify label for any field in tooltip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.