how to get the stat graph show precise value

English! place to talk about development, programming and coding
Post Reply
jayenho
Znuny newbie
Posts: 22
Joined: 24 Dec 2013, 10:29
Znuny Version: rel-3_3

how to get the stat graph show precise value

Post by jayenho »

any program can be changed to implement the requirement? see the pic as below, I need to show the precise number of each column, but now the system default just show the size without any value.
otrs_stat_graph_01.jpg
You do not have the required permissions to view the files attached to this post.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: how to get the stat graph show precise value

Post by jojo »

I suggest to use the dasboard charts for the statistics in OTRS 3.3
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
jayenho
Znuny newbie
Posts: 22
Joined: 24 Dec 2013, 10:29
Znuny Version: rel-3_3

Re: how to get the stat graph show precise value

Post by jayenho »

jojo wrote:I suggest to use the dasboard charts for the statistics in OTRS 3.3
however, the module GD::Graph used in the otrs AgentStats.pm file exists the below code fragment,

Code: Select all

    bgclr         => 'white',   # background colour
    fgclr         => 'dblue',   # Axes and grid
    boxclr        => undef,     # Fill colour for box axes, default: not used
    accentclr     => 'gray',    # bar, area and pie outlines.

    labelclr      => 'dblue',   # labels on axes
    axislabelclr  => 'dblue',   # values on axes
    legendclr     => 'dblue',   # Text for the legend
    textclr       => 'dblue',   # All text, apart from the following 2

    valuesclr     => 'dblue',   # values printed above the points
\

the "valuesclr"should means the precise number to be shown, but there is no way for otrs system configuration to find it and get it enabled.

actually, I do think to show such value on the graph is really more user friendly and more convenient.

and for the dashboard 7-day feature, actually, it is a static xaxis for week day, but not dynamic ticket owner which is needed in my case
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: how to get the stat graph show precise value

Post by jojo »

in 3.3 there is the possibility to show TicketAccumulation stats on the dashboard
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
jayenho
Znuny newbie
Posts: 22
Joined: 24 Dec 2013, 10:29
Znuny Version: rel-3_3

Re: how to get the stat graph show precise value

Post by jayenho »

jojo wrote:in 3.3 there is the possibility to show TicketAccumulation stats on the dashboard
Any implementation reference or quick start for this feature? Thank you very much in advanced.
Post Reply