| 109 | } |
| 110 | |
| 111 | fg_err fg_get_chart_axes_limits(float* pXmin, float* pXmax, |
| 112 | float* pYmin, float* pYmax, |
| 113 | float* pZmin, float* pZmax, |
| 114 | const fg_chart pChart) |
| 115 | { |
| 116 | try { |
| 117 | ARG_ASSERT(6, (pChart!=0)); |
| 118 | |
| 119 | float xmin, xmax, ymin, ymax, zmin, zmax; |
| 120 | getChart(pChart)->getAxesLimits(&xmin, &xmax, &ymin, &ymax, &zmin, &zmax); |
| 121 | |
| 122 | // Check for NULLs and assign |
| 123 | if(pXmin) *pXmin = xmin; |
| 124 | if(pXmax) *pXmax = xmax; |
| 125 | if(pYmin) *pYmin = ymin; |
| 126 | if(pYmax) *pYmax = ymax; |
| 127 | if(pZmin) *pZmin = zmin; |
| 128 | if(pZmax) *pZmax = zmax; |
| 129 | } |
| 130 | CATCHALL |
| 131 | |
| 132 | return FG_ERR_NONE; |
| 133 | } |
| 134 | |
| 135 | fg_err fg_set_chart_legend_position(fg_chart pChart, const float pX, const float pY) |
| 136 | { |
no test coverage detected