Change line shape in line plot

Hi,
I want to ask if there is a way to change the line shape, like dashed line, dotted line, when we draw line plot in LinePlot Node…Because, it gets harder to distinguish multiple lines just with colors.
I checked the Node LinePlot(Java Script), but couldn’t find such options. So are there some nodes to enable line shape changes??

Regards
Kefang

1 Like

Hi there!

Not sure this is currently possible. Could be useful for sure. Will check it and get back to you. This would mean that for each column on line you should chose line shape if don’t want default…

Br,
Ivan

1 Like

Yap, exactly different line shape for each column, like the colors.

Hi there!

Just an info on this one that feature request has been made for different line shapes.

Br,
Ivan

Hi Ivan,

I wonder there it can be a feature request at node Column Rename, to make it accept flow variable as the new name?? The current situation is that it can’t accept flow variable.

I understand the topic is a little mixed, sorry for it.

Regards
Kefang

HI Kefang!

Just tested and it does accept flow variables :slight_smile:

Col_rnm

Br,
Ivan

I tried at my side, it didn’t work in this way… Could you send me the workflow you used for test?? Thanks

Regards
Kefang

Hi Ivan,

I think I got the trick!! I must select columns in Tab Change Column, so I have the option in Tab Flow Variable. Else, they are none for flow variable.
Thanks for your kind reply.
Regards
Kefang

1 Like

Correct :slight_smile:
You are welcome
Ivan

Hi Ivan,

another request about Node Line Plot(Java Script). There is a need to scale axis separately, or giving a fixed range for each axis. I have checked the secret setting on axis min and max in Tab Flow Variable :grimacing: and set them to a fixed range, unchecked the Axes range axes and use domain information . But still in the plot, the axis doens’t hold in the range I defined… So any reason for this??
In the attachment, there are the workflow I used. KNIME_TestNode_LinePlot.knwf (17.1 KB)

Wishes
Kefang

Hi Kefang,

you are not changing the flow variables values but their names look:

Capture

this will not change the values 1 or to 0 but force the node to output that flow variable with name “0.0” and “1.0”

in fact if you check out the flow variable tab of the output

Capture

you created an empty flow variable with such names

to set up a flow variable use this workflow and check how it is done:

Capture3

Capture4

KNIME_TestNode_LinePlot_fixed.knwf (50.3 KB)

2 Likes

Wowow… Great work!! Never realized that the last option is for the flow variable name… Thanks a lot a lot!!

Now I begin to hope there is an explicit text field to input the range for axis, not need to through axis min-max in flow variable.

Best Wishes
Kefang

1 Like

Hi @ipazin,

I’m also interessested in that feature for different line shapes.

Regards
Knimer

Hi @k_n_i_m_e_r,

have added +1 to ticket. (Internal reference: AP-11608)

Br,
Ivan