StockChart event load

Hi!

What is the difference between Loaded, Load and OnLoaded in StockChartEvents? In v18 Loaded signaled the "complete of rendering" event, but in v19 this does not seem to work.

<StockChartEvents Loaded=@OnLoad Load=@OnLoad OnLoaded=@OnLoad />

Thanks for the answer.

2 Replies 1 reply marked as answer

DG Durga Gopalakrishnan Syncfusion Team May 10, 2021 12:11 PM UTC

Hi Kristof, 

Usually Load event will be triggered before stockchart is rendered and Loaded will be triggered after stockchart is rendered. In latest version 19.1.59, we have removed Load event and renamed Loaded event with name OnLoaded. An events Loaded and Load are deprecated one, and we will remove these events from intellisense in our upcoming patch release which is scheduled to be rolled out on 18th May 2021. We appreciate your patience until then.  

<SfStockChart> 
    <StockChartEvents OnLoaded="StockChartLoaded"></StockChartEvents> 
</SfStockChart> 
@code{ 
    public void StockChartLoaded(StockChartEventArgs args) 
    { 
        // Here you can customize your code 
    } 
} 


Please revert us if you have any concerns. 

Regards, 
Durga G


DG Durga Gopalakrishnan Syncfusion Team May 17, 2021 11:40 AM UTC

Hi Kristof, 

Thanks for being patience.  

We have specified deprecated for Load and Loaded chart events in source level and these won’t be triggered while initialized in sample. This event names will be removed from intellisense in any of our upcoming release. We will let you know once it is refreshed. 

Note: You can use OnLoaded event instead of Loaded. 

Regards, 
Durga G

Marked as answer
Loader.
Up arrow icon