7 Day Stats without scroll bar

Moderator: crythias

Post Reply
Ramata
Znuny newbie
Posts: 20
Joined: 24 May 2010, 16:29
Znuny Version: 2.4.6

7 Day Stats without scroll bar

Post by Ramata »

Hi,

My agent dashboard always showed horizontal scroll bar. Please see attached file. I don't know how to increase the length of x-axis or reduce a column.
I tried either Safari or Firefox. Both stil show. Please advise.

Note: I'm using OTRS 3.0.9.

Thanks!
You do not have the required permissions to view the files attached to this post.
MichaelR
Znuny expert
Posts: 250
Joined: 12 Oct 2010, 01:35
Znuny Version: 3.0.9
Company: LRS Health

Re: 7 Day Stats without scroll bar

Post by MichaelR »

Don't use a mac :lol:

Change the dtl file to increase the width.
OTRS: 3.0.9 & ITSM 3.0.4 - OS: Windows 7 - DB: MySQL - Heaps of random/useful hacks :)
[Major Code Changes]
ArticleFreeTime1-3
Ability to search ArticleFreeText
Ramata
Znuny newbie
Posts: 20
Joined: 24 May 2010, 16:29
Znuny Version: 2.4.6

Re: 7 Day Stats without scroll bar

Post by Ramata »

Thanks!

Would you mind letting me know which dtl file has to be edited?

Yes, you are right. I'm using MAC.
wipeout_630
Znuny newbie
Posts: 32
Joined: 19 Apr 2011, 23:27
Znuny Version: 3.3.1
Real Name: Nathan Unsworth
Company: CSS Corp
Location: Salt Lake City, Utah
Contact:

Re: 7 Day Stats without scroll bar

Post by wipeout_630 »

The .dtl for the chart doesn't contain any sizing or references to other .dtl files; the .css needs to be changed. I looked through the .css files in my install but couldn't narrow it down. Any help from the Admins would be fantastic. (I'm using Chrome on Win7)
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: 7 Day Stats without scroll bar

Post by crythias »

Start here:

http://forums.otrs.org/viewtopic.php?f=61&t=5576
Kernel/Output/HTML/Standard/AgentDashboardTicketStats.dtl

Code: Select all

<style type="text/css">
    #chart$QData{"Key"}
    {
        width: 320px;
        height: 200px;
    }
</style>
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Ramata
Znuny newbie
Posts: 20
Joined: 24 May 2010, 16:29
Znuny Version: 2.4.6

Re: 7 Day Stats without scroll bar

Post by Ramata »

I've tried at .../var/httpd/htdocs/skins/Agent/default/css/CorePageLayout.css with the following:

.LayoutFixedSidebar.SidebarLast > .SidebarColumn {
width: 276px;
float: right;
margin-left: 16px;
margin-right: 0;
}

Now it disappreared.


BTW, I've tried at AgentDashboardTicketStats.dtl; I could not success. I just added after ending of </script>.
Post Reply