amcharts / amcharts5

The newest, fastest, and most advanced amCharts charting library for JavaScript and TypeScript apps.
Other
345 stars 92 forks source link

Initiate fills in stock chart #1723

Closed prackode closed 2 weeks ago

prackode commented 2 weeks ago

There is a option of fills in the setting button in stockchart for activation of fills. But i want to initiate the fills option initally only, when the chart launches.

I got know there is a function name _setFills which is protected method, and it does the job.

Please let me know how can initiate the fills on the starting without giving the access to the user.

I tried this but it didn't worked SettingControl._setFills(true)

martynasma commented 2 weeks ago

Please refer to this doc: https://www.amcharts.com/docs/v5/charts/xy-chart/axes/#enabling-fills