plotly.js
plotly.js copied to clipboard
better API support for parallel coordinates (parcoords) lines styles
At the moment, it's not possible to change the width of the parallel coordinates line or change the color of the axis lines/ticks.
https://codepen.io/plotly/pen/ZepaxM
On related note, is it possible to apply a color function to selectively color lines, e.g., based on a categorical attribute. A feature that the parcoords API might support. Thanks.
Merging the "axis" part of this request in https://github.com/plotly/plotly.js/issues/2292
Is there any update on this issue ?? or some alternative probably ??? Thanks
Not sure if this is relevant, but adding support for exporting parcoords to vector graphics would also be greatly appreciated.
+1
+1 for line style manipulation.
This is a good idea, and we would happily work with someone from the community to get these changes implemented :)
+1
+1
+1
I answered a question on Julia discourse related to setting font color and font family for both ticks and labels in a parcoords chart. With this code:
mytrace = parcoords(;tickfont_size=14, tickfont_color="white", tickfont_family="Balto",
line = attr(color=df.score23),
dimensions = [
attr(range = [0,1],
label = "response1", values = df.response1),
attr(range = [0,1],
label = "response2", values = df.response2),
attr(range = [0,1],
label = "response3", values = df.response3),
attr(range = [0,1],
label = "response4", values = df.response4)
]);
layout = Layout(Dict{Symbol,Any}(
:font_family=> "Balto",
:font_size=>20,
:font_color=>"white",
:paper_bgcolor => "rgb(105, 105, 105)",
#:plot_bgcolor => "rgb(105, 105, 105)",
))
the ticklabels are displayed as if the font were set to be bold:
Is this the intended behaviour?
It's so difficult to style this trace type!!!! The font for ticks doesn't appear to be from the Balto family, like that for labels.
We've solved this and the fix will come out soon :) And yes, parcoords was built rather differently from the rest of this library, so it doesn't automatically inherit many of our fixes and improvements and its API is a bit inconsistent :(
We've solved this and the fix will come out soon :) And yes,
parcoordswas built rather differently from the rest of this library, so it doesn't automatically inherit many of our fixes and improvements and its API is a bit inconsistent :(
This is addressed by #5506.
So is this feature implemented? I am interested in changing the line width in parallel coordinates.
It did worked in Ubuntu, but not in Windows. Unfortunately Plotly doesn't support that and I have implemented it using D3.js
On Tue, May 31, 2022, 8:59 PM Yousuf Azad (Sami) @.***> wrote:
So is this feature implemented? I am interested in changing the line width in parallel coordinates.
— Reply to this email directly, view it on GitHub https://github.com/plotly/plotly.js/issues/2573#issuecomment-1142288106, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJSYZL5NE3XVO7AZDQBF3KLVMYV57ANCNFSM4E3J6T6Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I would like the feature of changing the width of the parallel coordinates lines. Any update on this?
+1
+1
+1