DisApply Pattern

The twenty different types of patterns are supported in KoolChart for visually impaired users. You can use the default patterns or choose a pattern file in the JavaScript function.

This sample chart is to show how to use the default pattern in the line chart.

If you want to use the default pattern in the line chart, then you must set the value of the enablePattern attribute to "true" ( enablePattern="true" ).

<Line2DChart ... enablePattern="true" >

You must set as usePattern="true" in chartVars, and set the directory path ( KoolChart.patternImageBaseUrl ) of the pattern files and the file names ( KoolChart.patternImagesUrl ).

var chartVars1 = "KoolOnLoadCallFunction=chartReadyHandler";
chartVars1 += "&usePattern=true";

KoolChart.patternImageBaseUrl = "/KoolChart/Assets/Patterns/";

KoolChart.patternImagesUrl = [

© 2017 KoolChart. All rights reserved.