View Issue Details

IDProjectCategoryView StatusLast Update
0010720mantisbtreportspublic2011-08-05 02:36
Reporternigel5 Assigned Todhx  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionduplicate 
Product Version1.2.0rc1 
Summary0010720: JpGraphs have issues
Description

Downloaded the latest jpgraph package, put the src folder in my mantis root as jpgraph, switched the settings on the new interface, view graph...

JpGraph Error: Unknown font font family specification

No, that's not a typo :)

I tried reading the manual, but it does not seem to incorporate the new 1.2 features. Putting the config items in the cofig file and running check.php it says they should be removed.

Any direction?

Steps To Reproduce

Enable JpGraphs and view "Synthesis graphs by status"

TagsNo tags attached.
Attached Files
JpGraph issue.png (42,858 bytes)   
JpGraph issue.png (42,858 bytes)   

Relationships

duplicate of 0010692 closedgrangeway Graphs not works 
duplicate of 0010995 closeddhx Graphs Plugin: Unable to read/find font 

Activities

thraxisp

thraxisp

2009-07-14 17:11

reporter   ~0022495

I think that this is the same problem as 0010692. What platform are you using (linux or Windows)?

nigel5

nigel5

2009-07-14 17:45

reporter   ~0022496

Using CentOS 4.

Not sure this is the same, this one is JpGraphs the other one looks like the builtin stuff.

Interestingly I can't find any reference to the parameters used in the other slip.

I have also downloaded and build the MST fonts package. I then symbolically linked them into the default directory required by JpGraph as well. Still no joy.

Hopefully this is just a config issue as the JpGraph stuff is rendering, just having issues with the fonts. Maybe it's looking for a TTF font I don't have? But I don't have a clue where to look.

Here is what I have installed after the MST core fonts setup.

/usr/share/fonts/truetype/webdings.ttf
/usr/share/fonts/truetype/trebucit.ttf
/usr/share/fonts/truetype/comicbd.ttf
/usr/share/fonts/truetype/courbd.ttf
/usr/share/fonts/truetype/impact.ttf
/usr/share/fonts/truetype/timesbd.ttf
/usr/share/fonts/truetype/arial.ttf
/usr/share/fonts/truetype/timesi.ttf
/usr/share/fonts/truetype/georgiaz.ttf
/usr/share/fonts/truetype/trebucbi.ttf
/usr/share/fonts/truetype/arialbi.ttf
/usr/share/fonts/truetype/courbi.ttf
/usr/share/fonts/truetype/georgiab.ttf
/usr/share/fonts/truetype/couri.ttf
/usr/share/fonts/truetype/arialbd.ttf
/usr/share/fonts/truetype/trebucbd.ttf
/usr/share/fonts/truetype/cour.ttf
/usr/share/fonts/truetype/timesbi.ttf
/usr/share/fonts/truetype/verdanab.ttf
/usr/share/fonts/truetype/georgia.ttf
/usr/share/fonts/truetype/verdana.ttf
/usr/share/fonts/truetype/comic.ttf
/usr/share/fonts/truetype/andalemo.ttf
/usr/share/fonts/truetype/georgiai.ttf
/usr/share/fonts/truetype/verdanai.ttf
/usr/share/fonts/truetype/trebuc.ttf
/usr/share/fonts/truetype/times.ttf
/usr/share/fonts/truetype/tahoma.ttf
/usr/share/fonts/truetype/verdanaz.ttf
/usr/share/fonts/truetype/ariali.ttf
/usr/share/fonts/truetype/ariblk.ttf

berdam

berdam

2009-10-08 23:03

reporter   ~0023104

Any ideia of my issue??

My graphs don“t show anything. My version of php is 5.1.6, my gd is enabled, my jpgraph is instaled, any messages of error.

And now ??

bob

bob

2009-12-25 10:31

reporter   ~0023982

Problem is the query to the database, the generic category for projects was forgotten.
Within MantisGraph/core/graph.php around line 756
Query should be

$query = "SELECT id, name
FROM $t_cat_table
WHERE $specific_where or project_id = 0
ORDER BY name";

Razican

Razican

2010-06-13 09:48

reporter   ~0025819

I have the same problem. It worked OK with other versions of JPGraph but with the last one doesn't work.

smartmantis

smartmantis

2010-08-24 05:08

reporter   ~0026443

No it's not the same problem with: 0010692

Here the same issue but a little bit different:

These graphs working fine:
[ Per state ] [ Per priority ] [ Per severity ] [ Per resolution ]

Same error only here:
[ Per category ]

squarebox

squarebox

2010-08-26 23:02

reporter   ~0026482

just for bug note completions sake, what version of jpgraph and mantis are you guys using?

smartmantis

smartmantis

2010-08-27 05:54

reporter   ~0026485

MantisBT Version
1.2.1

JPG_VERSION
3.0.7

smartmantis

smartmantis

2010-09-16 14:42

reporter   ~0026741

Strange situation. Looks it's depends on the project.
In some project it's working well and in some other it's not working.
i can't find any relations between the errors, we use global categories so that was the same always.