Open eskildht opened 1 year ago
I managed to get it working by trying different combinations of the attributes. I think the definitions, uses and relations between scale
, domain
and type
in both GraphTrack
and the plots
are not necessarily clear. E.g. I found in a comment in the code that scale
on PlotOptions
should by default be linear
, but without specifying it explicitly I get the default domain of [0, 100]
.
The storybook issue still remains however.
Describe the bug In version
0.8.0
I can't set individual domains onLinePlot
s in the sameGraphTrack
. It works in version0.7.3
.EDIT: After testing a bit it seems to me that the domain is set correctly, but the
graphLegendConfig
does not keep up per plot in version0.8.0
.Additional secondary issue The storybook when checking
HEAD
ondev
fails to properly render. That is, everything under Log Controller and Log Viewer. The storybook works fine if checking out0.7.3
or https://github.com/equinor/videx-wellog/commit/228b76da8c00388b8062ec15816dcc37016defdd. Currently it looks like this:https://user-images.githubusercontent.com/37186215/204307077-d1ab00ed-2c2d-474c-b143-633e1220a0fe.mov
To Reproduce (primary issue) Steps to reproduce the behavior:
Do as below (picked from stories) having the necessary imports and
ex2
initialized to some data:[0, 100]
for both plots (EDIT: according tographLegendConfig
).Expected behaviour (primary issue)
Plot1
should render on[0, 100]
.Plot2
should render on[0, 40]
.Desktop (please complete the following information):