Etic Posted April 20, 2015 Report Share Posted April 20, 2015 I'm using the DataGrid to display, for example, months and two series like this: var data = [ { "Month": "Jan", "A": 100, "B": 300 }, { "Month": "Feb", "A": 130, "B": 200 }, ... ] When the datagrid dock is on the right area, months are listed in rows and series in columns. But when the datagrid dock is on the bottom area, months are listed in columns and series in rows. How can I make the months to stay in rows when the datagrid dock is on the bottom area? Quote Link to comment Share on other sites More sharing options...
0 JuanC Posted May 19, 2015 Report Share Posted May 19, 2015 The rationale for this decision is that in most cases there are more points than series and also we try (if possible) to align the data grid values with the markers. In our next build, data grid will expose a setTransposed(bool) method that will allow you to flip our default behavior. Regards, JuanC Quote Link to comment Share on other sites More sharing options...
Question
Etic
I'm using the DataGrid to display, for example, months and two series like this:
When the datagrid dock is on the right area, months are listed in rows and series in columns.
But when the datagrid dock is on the bottom area, months are listed in columns and series in rows.
How can I make the months to stay in rows when the datagrid dock is on the bottom area?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.