## ChartXValue::FromDateTime method


Creates a [ChartXValue](../) instance of the [DateTime](../../chartxvaluetype/) type.

```cpp
static System::SharedPtr<Aspose::Words::Drawing::Charts::ChartXValue> Aspose::Words::Drawing::Charts::ChartXValue::FromDateTime(System::DateTime value)
```

## See Also

* Class [ChartXValue](../)
* Class [ChartXValue](../)
* Namespace [Aspose::Words::Drawing::Charts](../../)
* Library [Aspose.Words for C++](../../../)
