Rank: Member
Groups: Registered
Joined: 9/4/2015(UTC) Posts: 23 Location: ottawa Thanks: 7 times Was thanked: 2 time(s) in 2 post(s)
|
I have a stacked area chart where I plot data by date-time (X-Axis). I want both day and time shown on the axis (Data Type:Date&Time, Format:g) but have an issue where the axis labels overlap. I tried to stagger the labels using
.staggerLabels(true) but after setting that in the Chart Model View, there is no chart displayed.
Is there a way to either stagger the labels or rotate the labels?
Thx.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 9/4/2015(UTC) Posts: 23 Location: ottawa Thanks: 7 times Was thanked: 2 time(s) in 2 post(s)
|
Maybe even only showing the first and last X Axis label? Is that possible?
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
You have fight with the NVD3 documentation to customize your chart. I know that you can rotate labels (refer to the 'NVD3 Chart Configuration' property of your View: //if (chart.rotateLabels != null) chart.rotateLabels(90); //for Bar) I just read that .StaggerModel works only for DiscreteBarChart, check your JavaScript errors if any: In the Report Designer, Menu Options -> Show Script Errors. or debug it with your browser debugger by viewing the HTML result. Then the main documentations are http://nvd3.org/ and http://cmaurer.github.io/angularjs-nvd3-directives/index.htmlNote also that the the NVD3 library will be updated with a next Seal release. Good luck. Edited by user Monday, September 21, 2015 7:56:39 AM(UTC)
| Reason: Not specified
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.