Skip to main content
Version: 5.9.6

DeleteLocalChartData

public void DeleteLocalChartData(string chartKey);

Parameter​

valuedescription
chartKeyThe chart name, chart name specified by GetOneChartAndSave or the chart ID
may have different parameter values depending on which Key type they were saved through.

Description​

Deletes the chart file saved locally.

The method is returned as 'void,' only synchronous types are supported.

Example​

Synchronous​

Backend.Chart.DeleteLocalChartData("chartKey");

Return cases​

Error cases​

When the chartKey is given as null or an empty string The 'chartKey must not be null or empty' exception is thrown.

When you want to delete a non-existent chartKey The 'chartKey is not exist' exception is thrown.