Series-Specific Properties Overview

These properties can be used to control the appearance of individual series and groups.

The following code shows the series syntax.

series: [
{
   series: number,
   group: number,
   visible: true,
   label: 'string',
   color: 'string',
   riserShape: 'string',
   border: {
      width: number, 
      color: 'string',
      dash: 'string'
   },
   marker: {  
      visible: boolean,  
      color: 'string'
      size: number,
      shape: 'string', 
      rotation: number,  
      position: 'string',  
      fillMode: 'string',
      border: {
         width: number,
         color: 'string',
         dash: 'string'
      }
   },
   // Per-series trendline
   trendline: {
      enabled: false,  
      mode: undefined, 
      line: {
         width: 1,
         color: undefined, 
         dash: ''
      },
      equationLabel: {
         visible: false,
         font: '8pt Sans-Serif',
         color: undefined,  
         mode: 'equation'   
      }
   },
   showDataValues: boolean,
   explodeSlice: number,   
   deleteSlice: boolean,    
   yAxisAssignment: number,
   tooltip: tool_string_or_function    
}
]

The following code segment shows the default settings:

series: [
   {series: 'all', color: 'blue', showDataValues: false, border: {width: 
2}, marker: {size: 8, border: {width: 1, color: 'black'}}},  
   {series: 0, color: 'red'},
   {series: 1, color: 'green'},
   {series: 2, color: 'orange'}
]

WebFOCUS