diff --git a/frontend/src/components/GraphAxis.vue b/frontend/src/components/GraphAxis.vue
index 3cae71b..464d6c2 100644
--- a/frontend/src/components/GraphAxis.vue
+++ b/frontend/src/components/GraphAxis.vue
@@ -63,7 +63,7 @@ const min_y_value = computed(() => {
const average_y_value = min_y.value + half_diff_y_value;
return average_y_value - half_diff_y_value * 1.05;
} else {
- return -1.0;
+ return -1.05;
}
} else {
if (max_y.value > min_y.value) {
@@ -72,7 +72,7 @@ const min_y_value = computed(() => {
const average_y_value = Math.log(min_y.value) + half_diff_y_value;
return Math.exp(average_y_value - half_diff_y_value * 1.05);
} else {
- return 0.0;
+ return 0.01;
}
}
});
@@ -86,7 +86,7 @@ const max_y_value = computed(() => {
const average_y_value = min_y.value + half_diff_y_value;
return average_y_value + half_diff_y_value * 1.05;
} else {
- return 1.0;
+ return 1.05;
}
} else {
if (max_y.value > min_y.value) {
@@ -95,7 +95,7 @@ const max_y_value = computed(() => {
const average_y_value = Math.log(min_y.value) + half_diff_y_value;
return Math.exp(average_y_value + half_diff_y_value * 1.05);
} else {
- return 1.0;
+ return 1.05;
}
}
});
@@ -127,7 +127,7 @@ const lines = computed(() => {
const diff_log10 = Math.log10(diff_y_val);
const diff_log10_fraction = diff_log10 - Math.floor(diff_log10);
const ticker_location = ticker_locations.find(
- (location) => location < diff_log10_fraction,
+ (location) => location <= diff_log10_fraction,
)!;
const grid_spread = Math.pow(10, Math.floor(diff_log10) + ticker_location);
const major_spread = grid_spread / 2;
diff --git a/frontend/src/components/SvgGraph.vue b/frontend/src/components/SvgGraph.vue
index 7646082..0572c72 100644
--- a/frontend/src/components/SvgGraph.vue
+++ b/frontend/src/components/SvgGraph.vue
@@ -1,27 +1,46 @@
-
+
+
+
+
diff --git a/frontend/src/graph/graph.ts b/frontend/src/graph/graph.ts
index e31f26b..43ea28d 100644
--- a/frontend/src/graph/graph.ts
+++ b/frontend/src/graph/graph.ts
@@ -24,3 +24,4 @@ export interface GraphData {
legend_y_stride: MaybeRefOrGetter;
legend_width: MaybeRefOrGetter;
}
+
diff --git a/frontend/src/views/HomeView.vue b/frontend/src/views/HomeView.vue
index b47a155..bd14a01 100644
--- a/frontend/src/views/HomeView.vue
+++ b/frontend/src/views/HomeView.vue
@@ -1,10 +1,10 @@