]> granicus.if.org Git - sysstat/commitdiff
sadf: SVG: Remove id tag from individual graphs
authorSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 8 Jun 2018 07:28:47 +0000 (09:28 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 8 Jun 2018 07:28:47 +0000 (09:28 +0200)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
svg_stats.c

index 40fb9019be0335b4eff26c3ae10fb1317e481836..eba4f085d79958980af68f03eb3d7d0b17259489 100644 (file)
@@ -1026,11 +1026,11 @@ void draw_activity_graphs(int g_nr, int g_type[], char *title[], char *g_title[]
                        out_p = *(out + pos + j);
                        if (g_type[i] == SVG_LINE_GRAPH) {
                                /* Line graphs */
-                               printf("<path id=\"g%dp%d\" d=\"%s\" "
+                               printf("<path d=\"%s\" "
                                       "style=\"vector-effect: non-scaling-stroke; "
                                       "stroke: #%06x; stroke-width: 1; fill-opacity: 0\" "
                                       "transform=\"scale(%f,%f)\"/>\n",
-                                      svg_p->graph_no, pos + j, out_p,
+                                      out_p,
                                       svg_colors[(pos + j) & SVG_COLORS_IDX_MASK],
                                       xfactor,
                                       yfactor * asfactor[j]);