Class SilhouettePlotSelectionVisualization.Instance

    • Field Detail

      • CSS_MARKER

        protected static final java.lang.String CSS_MARKER
        CSS class for markers
        See Also:
        Constant Field Values

        protected static final java.lang.String CSS_RANGEMARKER
        CSS class for markers
        See Also:
        Constant Field Values
      • mtag

        private org.w3c.dom.Element mtag
        Element for the marker
      • plotSize

        private int plotSize
        Nmber of points pllus spaces in the plot
    • Constructor Detail

      • Instance

        public Instance​(VisualizerContext context,
                        VisualizationTask task,
                        VisualizationPlot plot,
                        double width,
                        double height,
                        Projection proj)
        context - Visualizer context
        task - Visualization task
        plot - Plot to draw to
        width - Embedding width
        height - Embedding height
        proj - Projection
    • Method Detail

      • addMarker

        public void addMarker()
        Add marker for the selected IDs to mtag
      • addMarkerRect

        private org.w3c.dom.Element addMarkerRect​(double x1,
                                                  double width)
        Create a rectangle as marker (Marker higher than plot!)
        x1 - X-Value for the marker
        width - Width of an entry
        SVG-Element svg-rectangle
      • addCSSClasses

        private void addCSSClasses()
        Adds the required CSS-Classes