Skip to content

Commit e6fb934

Browse files
author
gauffininteractive
committed
* reduced noise in the overview page by not adding applications without reports in the chart.
* stops adding lines if the amount of color themes available is less then the amount of active applications
1 parent 47241d6 commit e6fb934

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

src/Server/OneTrueError.Web/ViewModels/ChartViewModel.ts

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -51,31 +51,31 @@ module OneTrueError {
5151
pointStrokeColor: "#ff5216",
5252
pointHighlightFill: "#fff",
5353
pointHighlightStroke: "rgba(255,255,255,0.5)"
54+
},
55+
{
56+
fillColor: "rgba(255,152,22,0.2)",
57+
strokeColor: "#ffc216",
58+
pointColor: "#ffc216",
59+
pointStrokeColor: "#ffc216",
60+
pointHighlightFill: "#fff",
61+
pointHighlightStroke: "rgba(255,255,255,0.5)",
62+
},
63+
{
64+
fillColor: "rgba(255,187,22,0.2)",
65+
strokeColor: "#ff9816",
66+
pointColor: "#ff9816",
67+
pointStrokeColor: "#ff9816",
68+
pointHighlightFill: "#fff",
69+
pointHighlightStroke: "rgba(255,255,255,0.5)",
70+
},
71+
{
72+
fillColor: "rgba(255,82,22,0.2)",
73+
strokeColor: "#ff5216",
74+
pointColor: "#ff5216",
75+
pointStrokeColor: "#ff5216",
76+
pointHighlightFill: "#fff",
77+
pointHighlightStroke: "rgba(255,255,255,0.5)",
5478
}
55-
//{
56-
// fillColor: "rgba(255,152,22,0.2)",
57-
// strokeColor: "#ffc216",
58-
// pointColor: "#ffc216",
59-
// pointStrokeColor: "#ffc216",
60-
// pointHighlightFill: "#fff",
61-
// pointHighlightStroke: "rgba(255,255,255,0.5)",
62-
//},
63-
//{
64-
// fillColor: "rgba(255,187,22,0.2)",
65-
// strokeColor: "#ff9816",
66-
// pointColor: "#ff9816",
67-
// pointStrokeColor: "#ff9816",
68-
// pointHighlightFill: "#fff",
69-
// pointHighlightStroke: "rgba(255,255,255,0.5)",
70-
//},
71-
//{
72-
// fillColor: "rgba(255,82,22,0.2)",
73-
// strokeColor: "#ff5216",
74-
// pointColor: "#ff5216",
75-
// pointStrokeColor: "#ff5216",
76-
// pointHighlightFill: "#fff",
77-
// pointHighlightStroke: "rgba(255,255,255,0.5)",
78-
//}
7979
];
8080

8181
constructor(targetElementOrId: any) {

src/Server/OneTrueError.Web/Web.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</appSettings>
1010
<connectionStrings>
1111
<add name="Db"
12-
connectionString="Data Source=.;Initial Catalog=oted;Integrated Security=True;Connect Timeout=30;multipleactiveresultsets=true"
12+
connectionString="Data Source=.;Initial Catalog=OneTrueError;Integrated Security=True;Connect Timeout=30;multipleactiveresultsets=true"
1313
providerName="System.Data.SqlClient" />
1414
</connectionStrings>
1515
<system.web>

0 commit comments

Comments
 (0)