Class TraceBuilder

    • Field Detail

      • showLegend

        protected Boolean showLegend
        Determines whether or not an item corresponding to this trace is shown in the legend.
      • legendGroup

        protected String legendGroup
        Sets the legend group for this trace. Traces part of the same legend group hide/show at the same time when toggling legend items.
      • opacity

        protected double opacity
        Sets the opacity of the trace.
      • name

        protected String name
        Sets the trace name. The trace name appear as the legend item and on hover.
      • ids

        protected String[] ids
        Assigns id labels to each datum. These ids for object constancy of data points during animation. Should be an array of strings, not numbers or any other type.
      • xAxis

        protected String xAxis
        Sets a reference between this trace's x coordinates and a 2D cartesian x axis. If *x* (the default value), the x coordinates refer to `layout.xaxis`. If *x2*, the x coordinates refer to `layout.xaxis2`, and so on.
      • yAxis

        protected String yAxis
        Sets a reference between this trace's y coordinates and a 2D cartesian y axis. If *y* (the default value), the y coordinates refer to `layout.yaxis`. If *y2*, the y coordinates refer to `layout.yaxis2`, and so on.