You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your Intro to ‘parcoords’
article (and the pkg itself),
is great!.
I noticed the following bug(?)
in the mtcars display:
If I select (for ex.),
the Porsche 914-2 model,
it correctly displays: 4 in the cyl axis.
But if the user wants to reorder that cyl axis
and double-clicks
on the axis name: cyl ,
the line will now show (incorrectly)
the value: 8 in the cyl axis!.
But the Porsche has 4 cylinders,
not 8...
In other words:
the Porsche orange line has moved
but the axis tick values (4,6,8),
have not been reordered!.
The value 4
is still at the bottom of the cyl axis
and 8 is still at the top,
after reordering the cyl axis.
This will happen for either:
reorderable = FALSE or TRUE...
Thanks @sfd99 for the kind words and well-explained issue. So sorry for the slow response. I will start to research. Can you confirm whether the below outside of Shiny works or not?
the Shiny version (my code, above),
shows the old problem.
the NON-Shiny version (your code, above),
shows NO problem!.
Works perfectly!.
ie:
the 4,6,8 vertical axis tick values
get rearranged if you double-click on CYL (as expected).
So,
seems to be a SHINY problem...
btw:
the reason I prefer to use the SHINY version (my code above),
is that sometimes any non-SHINY version,
will not show in my Rstudio [Viewer] tab.
The Viewer will sometimes only show
an empty, white display.
That blank, empty Viewer problem also happens
with plots of some other PKGS,
so it's not exclusive to parcoord. :-)
It's a different Rstudio-bound problem.
Anyhoo,
that's why I prefer to use
the SHINY version of parcoord always.
Hope this helps, Kenton... RAY
San Francisco
Rstudio, R - latest versions
Ubuntu Linux 20.04
parcoords PKG 1.0.0
Hi Kenton!
Your Intro to ‘parcoords’
article (and the pkg itself),
is great!.
I noticed the following bug(?)
in the mtcars display:
If I select (for ex.),
the Porsche 914-2 model,
it correctly displays: 4 in the cyl axis.
But if the user wants to reorder that cyl axis
and double-clicks
on the axis name:
cyl ,
the line will now show (incorrectly)
the value: 8 in the cyl axis!.
But the Porsche has 4 cylinders,
not 8...
In other words:
the Porsche orange line has moved
but the axis tick values (4,6,8),
have not been reordered!.
The value 4
is still at the bottom of the cyl axis
and 8 is still at the top,
after reordering the cyl axis.
This will happen for either:
reorderable = FALSE or TRUE...
Here's the Code to reproduce:
start of R code
** end of R code **
Help, Kenton!
RAY
San Francisco
Rstudio, R - latest versions
Ubuntu Linux 20.04
parcoords PKG 1.0.0
The text was updated successfully, but these errors were encountered: