mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-06-20 15:35:49 +02:00
"Fix" stepping of single item price lines with magic...
This commit is contained in:
parent
258936dc0c
commit
c97c8116f6
|
@ -118,7 +118,9 @@ class ItemsChart extends View {
|
|||
}),
|
||||
};
|
||||
if (settings.chartType == "stepped") {
|
||||
dataset.stepped = "before";
|
||||
// I don't know why this is necessary...
|
||||
if (dataset.label.startsWith("Preissumme")) dataset.stepped = "before";
|
||||
else dataset.stepped = "after";
|
||||
}
|
||||
|
||||
return dataset;
|
||||
|
|
Loading…
Reference in New Issue
Block a user