GithubHelp home page GithubHelp logo

Comments (3)

valentin-krasontovitsch avatar valentin-krasontovitsch commented on July 20, 2024

so first of, the long labels on the parameter comparison viewer seems to be a known issue for the parallel coordinates plot in plotly we're using. and they don't got no fix...

inspecting the dom elements, it is not apparent / clear to me how one could achieve that the full labels are displayed by manipulating / setting CSS properties.

one possible hack / workaround is to use ellipsis on the labels, with a "sensible" cut-off length - here's an example screenshot:

ellipsis-end

i don't like this so much, in particular since in this example, one cannot distinguish the particular labels.

would an ellipsis at the beginning be better, or is this just silly test data (all prefixed with SNAKE_OIL_PARAM)? seems like the original example also has a common prefix, GLOBVAR, though...

ellipsis in the beginning would look like this:

ellipsis-beginning

I'm also gonna look into using other means of making the label available, perhaps as a mouse-over or similar.

from webviz-ert.

valentin-krasontovitsch avatar valentin-krasontovitsch commented on July 20, 2024

ok two more points: I don't see the option of supplying hover text or similar, it doesn't seem to be a feature of this graph, according to the plotly docs for this type of graph

i found a way of hacking the labels visible after all: move them down, and set overflow to visible. but: on mouseover, one sees that the border of the container "cuts off" the labels, see screenshots.

mouse not on container, borders not visible, OK:

hack-ok

mouse on container, borders visible, it's subtle but off:

hack-borders

from webviz-ert.

valentin-krasontovitsch avatar valentin-krasontovitsch commented on July 20, 2024

@hnformentin please let me know if the last solution, with the overflow, is satisfactory, or if you prefer the ellipsis approach. Note that for the ellipsis, only about 15 or so characters of the parameter name can be displayed : /

I'm finally able to reproduce the overlap in the response viewer! I need to:

  • choose at least one parameter
  • choose two responses
  • deselect a response

after the deselection, the plots are updated and the response plot covers the titles of the parameter plot(s).

from webviz-ert.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.