plotly.js icon indicating copy to clipboard operation
plotly.js copied to clipboard

better API support for parallel coordinates (parcoords) lines styles

Open ndabAP opened this issue 7 years ago • 25 comments
trafficstars

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

ndabAP avatar Apr 18 '18 17:04 ndabAP

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.

idea-launch-lab avatar Jun 27 '18 13:06 idea-launch-lab

Merging the "axis" part of this request in https://github.com/plotly/plotly.js/issues/2292

etpinard avatar May 31 '19 16:05 etpinard

Is there any update on this issue ?? or some alternative probably ??? Thanks

bhvbhushan avatar Jul 17 '19 10:07 bhvbhushan

Not sure if this is relevant, but adding support for exporting parcoords to vector graphics would also be greatly appreciated.

bthorsted avatar Jan 30 '20 10:01 bthorsted

+1

ped59430 avatar Jun 30 '20 23:06 ped59430

+1 for line style manipulation.

Buiboni avatar Jul 14 '20 10:07 Buiboni

This is a good idea, and we would happily work with someone from the community to get these changes implemented :)

nicolaskruchten avatar Jul 14 '20 14:07 nicolaskruchten

+1

KaleabTessera avatar Oct 30 '20 16:10 KaleabTessera

+1

ag-ayush avatar Mar 15 '21 14:03 ag-ayush

+1

Di-o-go avatar Apr 14 '21 06:04 Di-o-go

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: parcoords 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.

empet avatar Apr 20 '21 20:04 empet

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 :(

nicolaskruchten avatar Apr 20 '21 20:04 nicolaskruchten

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 :(

This is addressed by #5506.

archmoj avatar Apr 20 '21 21:04 archmoj

So is this feature implemented? I am interested in changing the line width in parallel coordinates.

YousufAzadSami avatar May 31 '22 15:05 YousufAzadSami

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: @.***>

sasikumar-enugunta avatar Jun 01 '22 03:06 sasikumar-enugunta

I would like the feature of changing the width of the parallel coordinates lines. Any update on this?

kamibrumi avatar May 23 '23 03:05 kamibrumi

+1

samlopezruiz avatar Aug 23 '23 23:08 samlopezruiz

+1

afaucet-lam avatar Mar 08 '24 20:03 afaucet-lam

+1

sketelone avatar Mar 25 '24 21:03 sketelone