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: 'bottom',  
   xy: {x:330, y:80},
   markerSize: 8,
   markerPosition: 'left',  
   maxEntries: undefined,     
   title: {
      visible: false,
      text: 'Legend Title',
      font: '10pt Sans-Serif',
      color: 'black'
   },
   labels: {
      font: '7.5pt Sans-Serif',
      color: 'black'
   },
   lineStyle: {
      width: 0, 
      color: 'black', 
      dash: ''
   },
   backgroundcolor: 'transparent',
   shadow: false,
}

WebFOCUS