MCPcopy Create free account
hub / github.com/arrayfire/forge / fg_get_chart_axes_limits

Function fg_get_chart_axes_limits

src/api/c/chart.cpp:111–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111fg_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
135fg_err fg_set_chart_legend_position(fg_chart pChart, const float pX, const float pY)
136{

Callers 1

getAxesLimitsMethod · 0.85

Calls 2

getChartFunction · 0.85
getAxesLimitsMethod · 0.45

Tested by

no test coverage detected