equal
deleted
inserted
replaced
42 uint64 cost[GRAPH_NUM][24]; // last 2 years |
42 uint64 cost[GRAPH_NUM][24]; // last 2 years |
43 } GraphDrawer; |
43 } GraphDrawer; |
44 |
44 |
45 #define INVALID_VALUE 0x80000000 |
45 #define INVALID_VALUE 0x80000000 |
46 |
46 |
47 static void DrawGraph(GraphDrawer *gw) |
47 static void DrawGraph(const GraphDrawer *gw) |
48 { |
48 { |
49 |
49 |
50 int i,j,k; |
50 int i,j,k; |
51 uint x,y,old_x,old_y; |
51 uint x,y,old_x,old_y; |
52 int color; |
52 int color; |
53 int right, bottom; |
53 int right, bottom; |
54 int num_x, num_dataset; |
54 int num_x, num_dataset; |
55 uint64 *row_ptr, *col_ptr; |
55 const uint64 *row_ptr, *col_ptr; |
56 int64 mx; |
56 int64 mx; |
57 int adj_height; |
57 int adj_height; |
58 uint64 y_scaling, tmp; |
58 uint64 y_scaling, tmp; |
59 int64 value; |
59 int64 value; |
60 int64 cur_val; |
60 int64 cur_val; |