On Sat, Sep 11, 2010 at 21:44, Alexander Klenin <[email protected]> wrote: >>> However, I'd like those requirements >>> to be optional -- so that TAggPasChartRenderer and >>> TOpenGLChartRenderer components would be >>> accessible only if AggPas/OpenGL is installed, but the rest of >>> TAChart would be available regardless. >>> Is there a way to achieve the above? >> >> Not automatically. > > Too bad. The only way I see is to place each renderer in a separate > package dependent both on TAChart and a corresponding library. >
I have committed an initial implementation of the AggPas-based drawing backend for TAChart. To avoid TAChart -> AggPas dependency, I did not add TADrawerAggPas unit to the package, which is of course suboptimal. See components/tachart/demo/aggpas for an example. So, how to proceed? Should I create TAChartAggPasPkg? -- Alexander S. Klenin -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
