drop the artificial data point at 0,0
kinda screwing up some graphs
This commit is contained in:
parent
c364578e5d
commit
b82e5309e1
@ -26,7 +26,7 @@
|
||||
});
|
||||
var ctx = $("#karma_history").get(0).getContext("2d");
|
||||
var data = {
|
||||
labels: ["EPOCH", {% for x in entry_history %}"{{ x.0 }}", {% endfor %}],
|
||||
labels: [{% for x in entry_history %}"{{ x.0 }}", {% endfor %}],
|
||||
datasets: [
|
||||
{
|
||||
label: "{{ entry.key }}",
|
||||
@ -36,7 +36,7 @@
|
||||
pointStrokeColor: "#fff",
|
||||
pointHighlightFill: "#fff",
|
||||
pointHighlightStroke: "rgba(220,220,220,1)",
|
||||
data: [0, {% for x in entry_history %}{{ x.2 }}, {% endfor %}]
|
||||
data: [{% for x in entry_history %}{{ x.2 }}, {% endfor %}]
|
||||
}
|
||||
]
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user