Forum

Problem with return of ChartTimePriceToXY when chart is not active

When I use ChartTimePriceToXY and the chart is not active the X and Y values ​​extrapolate the chart size values ​​obtained through the CHART_WIDTH_IN_PIXELS and CHART_HEIGHT_IN_PIXELS properties. Is this a bug? The result of the code below for active and non-active charts is: width=1578 height=700