`[C#] ` | `public int getYCoor(double x, double y, double z);` |

`[VB] ` | `Public Function getYCoor(x As Double, y As Double, z As Double) As Integer` |

ChartDirector 6.2 (.NET Edition)

ThreeDChart.getYCoor

Usage

`[C#] ` | `public int getYCoor(double x, double y, double z);` |

`[VB] ` | `Public Function getYCoor(x As Double, y As Double, z As Double) As Integer` |

Description

Gets the y pixel coordinate of a point given its x, y and z data values.

This method only accepts numeric values as input. If the axis scale is a date/time scale, and you are using a DateTime value, please use Chart.CTime to convert it to a number.

**Note:** You must call BaseChart.layout first before calling this method. ChartDirector needs to perform auto-scaling and layout the axis before it can compute pixel coordinates from data values.

This method only accepts numeric values as input. If the axis scale is a date/time scale, and you are using a DateTime value, please use Chart.CTime to convert it to a number.

Arguments

Argument | Default | Description |
---|---|---|

x | (Mandatory) | The x data value of the point. |

y | (Mandatory) | The y data value of the point. |

z | (Mandatory) | The z data value of the point. |

Return Value

The y pixel coordinate of the point.

© 2017 Advanced Software Engineering Limited. All rights reserved.