## ChartYValue::FromDateTime method


Creates a [ChartYValue](../) instance of the [DateTime](../../chartyvaluetype/) type.

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

## See Also

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