TOC : Script API > JavaScript > JavaScript API > Component > Multiplex > Chart > Method >

 

SetChartCustomStyles

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > Component > Multiplex > Chart > Method >

 

SetChartCustomStyles

 

 

Sets the styles of custom chart.

 

 

 

Prototype :

 

void SetChartCustomStyles

(

        string ChartCustomStyles

)

 

 

 

Arguments :

 

ChartCustomStyles

refer to ChartCustomStyleConst

multiple styles are separated by comma(",")

 

 

 

Reference :

 

It works only for custom chart type.

 

 

 

Example :

 

//string

 This.SetChartCustomStyles("Bar,Line,Point");

 

//constant

 This.SetChartCustomStyles(ChartCustomStyleConst.Bar + "," + ChartCustomStyleConst.Line + "," + ChartCustomStyleConst.Point);

 

 

 

Available Events :

 

OnAddToPage,  OnBind,  OnEndBind,  OnInitialize,  OnStartBind

 

 

 

See also :

 

ChartCustomStyleConst