Plot multiple Y axes or a bar and line graph?

Is there a way to do either of these in KNIME? I can’t seem to find a way to configure Bar Chart (JavaScript) or Bar Chart (JFreeChart) to have multiple Y axes; is there a different bar graph option I can use to do this? If possible I would like to have the secondary Y axis be a line graph with the rest of the data plotted on bars but that’s not critical.

thank you!

Hi lparsons42,

You could use the Generic JavaScript View node to generate such a plot.
One of the workflows on the EXAMPLES Server under /60_Innovation_Notes/02_Inventory_Optimization/02_Guided_Analytics could help you to get started. Check the Wrapped metanode “3rd Page View:Inventory Review”. The Generic JavaScript View node there uses plotly package.

Best,
Daria

Hi,

Did you find a way to sort this out?

Thx

Edgar

Hi there @eeosuna,

welcome to KNIME Community Forum!

There is a open ticket for this feature and I will add +1 for you.

Check this topic:

Br,
Ivan

Hi, Any progress on this topic?

Hello @Anoshpananda,

nothing to report for now but will add +1 for you on related ticket. (AP-12528)

Br,
Ivan

2 Likes

Please add another one for me! I am trying to visualise correlated time series of different magnitudes.
Has anyone found an easy to implement workaround?

Another +1 for me, please!
Best regards.

Hi,
If you need something like this

you can do it with Python View node (Plotly express) … you can have more then 2 y axes … Look here Multiple Axes | Python | Plotly

In KNIME is something like this 2 y axes.knwf (1.1 MB)

P.S. : For this you must have instaled (Anaconda) libraries Plotly express and Kaleido

Hope this helps
Regards
Andrej

4 Likes

Requests noted @mpuckhaber (welcome to KNIME Community!) and @jorgemartcaam!
R or Python (as @andrejz demonstrated are current workarounds)
Ivan

1 Like

+1 for me too! I really need this feature!