Commit a4529d47 authored by Petr Štětka's avatar Petr Štětka
Browse files

Styling cpu graph.

parent fdc0f080
......@@ -2,16 +2,15 @@ using Rg;
namespace Usage
{
private const string red_color = "#ee2222";
private const string blue_color = "#4a90d9";
/**
* Graph showing most used core
**/
public class CpuGraphMostUsed : Rg.Graph
{
private static CpuGraphTableMostUsedCore table;
LineRenderer renderer;
private LineRenderer renderer;
private const string red_color = "#ee2222";
private const string blue_color = "#4a90d9";
public CpuGraphMostUsed ()
{
......@@ -45,6 +44,8 @@ namespace Usage
{
private static CpuGraphTableComplex table;
private LineRenderer[] renderers;
private const string red_color = "#ee2222";
private const string blue_color = "#a8c9ed";
public CpuGraphAllCores ()
{
......@@ -62,7 +63,7 @@ namespace Usage
renderers[i] = new LineRenderer();
renderers[i].column = i;
renderers[i].stroke_color = blue_color;
renderers[i].line_width = 2;
renderers[i].line_width = 2.5;
add_renderer(renderers[i]);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment