mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-24 01:28:42 +02:00
fix: DCA detail chart reloads zoomed in
This commit is contained in:
@@ -200,7 +200,7 @@
|
||||
stepped: true,
|
||||
segment: {
|
||||
borderColor: ctx => {
|
||||
return ctx.p0.parsed.y >= 0 && ctx.p1.parsed.y >= 0 ? 'rgb(75, 192, 75)' :
|
||||
return ctx.p0.parsed.y >= 0 && ctx.p1.parsed.y >= 0 ? 'rgb(75, 192, 75)' :
|
||||
ctx.p0.parsed.y < 0 && ctx.p1.parsed.y < 0 ? 'rgb(255, 99, 132)' :
|
||||
ctx.p0.parsed.y < 0 ? 'rgb(255, 99, 132)' : 'rgb(75, 192, 75)';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user