Re-Size 7 Day Stats
Moderator: crythias
-
- Znuny newbie
- Posts: 14
- Joined: 12 Sep 2011, 16:28
- Znuny Version: 3.0
Re-Size 7 Day Stats
I made a copy of the 7 day stats module called "4 Week Stats". I wanted to show it as "ContentLarge" on the Agent Dashboard. But it still shows the graph as small size. Where is the graph size set?
-
- Znuny newbie
- Posts: 14
- Joined: 12 Sep 2011, 16:28
- Znuny Version: 3.0
Re: Re-Size 7 Day Stats
I've worked it out, it's in the css file var\httpd\htdocs\skins\Agent\default\css\Core.Default.css.
I added an entry:
Looks good now!
I added an entry:
Code: Select all
.Chartlong {
width: 1050px;
height: 200px;
}
-
- Znuny newbie
- Posts: 14
- Joined: 12 Sep 2011, 16:28
- Znuny Version: 3.0
Re: Re-Size 7 Day Stats
Oh, I forgot to mention, you have to change the .dtl file using class="Chartlong" (case sensitive to css file):
Code: Select all
<!--dtl:js_on_document_complete-->
<script type="text/javascript">//<![CDATA[
Core.UI.Chart.DrawLineChart('Chart$QData{"Key"}', $Data{"ChartData"}, $Data{"TicketWeekdays"}, $Data{"TicketYAxis"});
//]]></script>
<!--dtl:js_on_document_complete-->
<div id="Chart$QData{"Key"}" class="Chartlong"></div>