Skip to content

Commit

Permalink
Legend colors fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mariya-rightscale committed Jun 23, 2010
1 parent ee62264 commit 90f8f15
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/rrd_gfx.c
Expand Up @@ -221,7 +221,7 @@ static PangoLayout *gfx_prep_text(

cairo_new_path(cr);
cairo_set_source_rgba(cr, color.red, color.green, color.blue,
color.alpha);
color.alpha);
/* layout = pango_cairo_create_layout(cr); */

// pango_cairo_context_set_font_options(pango_context, im->font_options);
Expand Down
4 changes: 2 additions & 2 deletions src/rrd_graph.c
Expand Up @@ -3566,8 +3566,8 @@ int graph_paint(
/* PICKING HEAT COLOR*/
color =
gfx_pick_heat_color(im->gdes[i].p_data[ii],
im->gdes[i].col,
im->gdes[i].col2);
im->gdes[i].col2,
im->gdes[i].col);
if(im->h_gap){
backX = ii + im->xorigin;
backY = ytr(im, cum_height);
Expand Down
1 change: 0 additions & 1 deletion src/rrd_graph.h
Expand Up @@ -500,7 +500,6 @@ double gfx_get_text_width(
double tabwidth,
char *text);


/* convert color */
gfx_color_t gfx_hex_to_col(
long unsigned int);
Expand Down

0 comments on commit 90f8f15

Please sign in to comment.