This interface describes minimum required functionality from custom chart data renderer which may be assigned to data an be used by some chart widgets to draw data in custom way(implemented by assigned renderer).
You can find more information in comments below.
class IChartRenderer
{
public:
virtual void Release() = 0; // Destroy
virtual void Render(IRenderer *renderer, ITexture *texture, IChartData *data, const PointF &xrange, const PointF &yrange) = 0; // Render specified data. Texture is already set as render target(no need to set is as render target again)
};
Namespace: | nitisa::charts |
Include: | Charts/Interfaces/IChartRenderer.h |