Legend Properties Overview

The legend properties control the visibility and format of the legend area.

The following code segment shows the default values:

"legend": {
	"visible": true,
	"position": "right",
  // {
  //   "side": undefined,
  //   "anchor": "chartFrame", 
  //   "excludeFromLayout": undefined
  //   "left": undefined,
  //   "right": undefined
  //   "top": undefined,
  //   "bottom": undefined,
  //   "align": undefined
  // },
 "maxSize": '50%', 
 "orientation": "auto",
 "reverseOrder": false,
 "markerSize": 8,
 "markerPosition": "left",
 "matchSeriesMarkers": false,
 "maxEntries": "undefined",
 "title": {
		  "visible": false,
		  "text": "Legend Title",
	  	"font": "10pt Sans-Serif",
		  "color": "black",
    "tooltip": undefined,
    "wrap": 1},
 "labels": {
		  "font": "7.5pt Sans-Serif",
		  "color": "black",
    "tooltip": undefined,
    "wrap": 1},
 "lineStyle": {
		  "width": 0,
		  "color": "black",
		  "dash": ""},
 "backgroundcolor": "transparent",
 "shadow": false,
	"scroll": {
		"enabled": false,
		"size": 15,
		"color": "rgb(240, 240, 240)",
		"handle": {
			"color": "grey",
			"hoverColor": "rgb(88, 88, 88)",
			"border": {
				"width": 0,
				"color": "transparent",
				"dash": ""
		}}},
   
	"dock": {
		"enabled": false,
		"animate": true,
		"minimized": false,
		"resizeFrame": true,
		"showMarkers": true,
		"expandDirection": "undefined",
		"button": {
			"size": "auto",
			"color": "grey",
			"hoverColor": "black",
			"border": {
				"width": 0,
				"color": "transparent",
				"dash": ""
		}}},
"sizeLegend":
 {
    "layout": "circle", 
    "lineStyle":
     {
      "width": 0,
      "color": "black",
      "dash": ""
      }
  }
}

WebFOCUS

Feedback