I'm graphing data (y) against dates (x) and the labels for the dates get all jumbled and unreadable when there are more than about 4 items to graph. (see example). Not sure just where/how is best addressed.

thnx!

CommentFileSizeAuthor
jumbled-dates.png52.31 KBhumble

Comments

humble’s picture

Title: Labels of x axis datapoints all jumlbed and overlapped » Labels of x axis datapoints all jumbled and overlapped
jvandervort’s picture

Category: bug » support
Status: Active » Fixed

I'd shrink the font and/or change the label orientation.

vertical
$g->set_x_label_style( 10, '#9933CC', 1 );

or 45 degree
$g->set_x_label_style( 10, '#9933CC', 2 );

jvandervort’s picture

The above is for ofc 1.x.

ofc 2.x uses

set_size();
set_vertical();

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.