801c801 < gdImageFilledRectangle(*img, BORDER_L, --- > gdImageFilledRectangle(*img, BORDER_L + LEGENDOFFSET, 803,805c803,805 < BORDER_L + 7, BORDER_T + graph->image.yplot_area + 44 + 10 * offset, color); < gdImageRectangle(*img, BORDER_L, BORDER_T + graph->image.yplot_area + 37 + 10 * offset, < BORDER_L + 7, BORDER_T + graph->image.yplot_area + 44 + 10 * offset, --- > BORDER_L + LEGENDOFFSET + 7, BORDER_T + graph->image.yplot_area + 44 + 10 * offset, color); > gdImageRectangle(*img, BORDER_L + LEGENDOFFSET, BORDER_T + graph->image.yplot_area + 37 + 10 * offset, > BORDER_L + LEGENDOFFSET + 7, BORDER_T + graph->image.yplot_area + 44 + 10 * offset, 839c839 < gdImageString(*img, gdFontSmall, BORDER_L + 10, --- > gdImageString(*img, gdFontSmall, BORDER_L + LEGENDOFFSET + 10, 1041c1041 < title_offset = 1 - (0.01 * (strlen(VERSION) + strlen(COPYRIGHT) + 2)); --- > title_offset = (strlen(VERSION) + strlen(COPYRIGHT) + 2) * gdFontSmall->w; 1043c1043 < gdImageString(*img, gdFontSmall, BORDER_L + (graph->image.xplot_area * title_offset), BORDER_T - 15, string, std_colors[black]); --- > gdImageString(*img, gdFontSmall, BORDER_L + graph->image.xplot_area + BORDER_R - title_offset, BORDER_T - 15, string, std_colors[black]);