Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Sometime, you want to know the type of X and Y values of chart points in a series. Aspose.Cells provides ChartPoint.XValueType and ChartPoint.YValueType properties that can be used for this purpose. Please note, you will have to call Chart.Calculate() method before you could use these properties effectively.
The following sample code loads the sample Excel file and accesses the first chart inside the first worksheet. It then calls the Chart.Calculate() method and finds the type of X and Y values of first chart point and prints them on console. Please see the console output shown below for a reference.
X Value Type: IsString
Y Value Type: IsNumericAnalyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.