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