POLYLINE_DEFAULT_ATTRIBUTES top-level property
final
Default attributes for a Polyline.
Implementation
final Map<PyA, String> POLYLINE_DEFAULT_ATTRIBUTES = {
// use only from copies!
//PyA.AXES_SPECS: '["gb", "ygb"]', // to be used by axis drawing functions
//PyA.AXES_LEGENDTEXTS: '[]', // to be used by axis drawing functions
PyA.COMPRESSION_LENGTH:
"1024", // <=0 means no data compression, null means 1024, otherwise the compression length.
PyA.DRAW_OUTSIDE_Y_VIEWPORT: Utils
.TRUE, // check whether y exceeds boundaries and draw maximum or mimimum
PyA.DRAW_SELECTION_ICON: Utils.FALSE,
PyA.INSETX: "16", // px from dataArea, left and right
PyA.INSETY: "12", // px from dataArea, top and bottom
PyA.MARKER_FONTSIZE: "16",
PyA.REFYMAX: "null",
PyA.SELECTION_ICON_WIDTH: "16",
PyA.SELECTION_ICON_OUTSIDE: Utils.FALSE,
PyA.SHOW_LEGEND: Utils.TRUE,
PyA.STROKE: "blue",
PyA.STROKE_WIDTH: "1",
PyA.STROKE_WIDTH_HILITE: "2",
PyA.XSCALE: "1.0", // scales polyline xvalues by factor (around 0))
PyA.XSHIFT: "0", // shifts polyline right (negative) or left in px
PyA.YIX1: "0.0",
PyA.YSCALE:
"${POLYLINE_INITIAL_YSCALE}", // scales polyline y values up (negative) or down by factor (around 0),
PyA.YSHIFT1: "0", // shift by this number of pixels
PyA.YSHIFT2: "0", // additional shift by this number of pixels
PyA.YPOSITION_ZERO:
"0.9", // in percent of y height, 0.5 means centered in the data area (position of yphys=0)
PyA.YPOSITION_ZERO_RESET: "0.9"
};