| 24 | { |
| 25 | |
| 26 | class Histogram : public ChartRenderableBase<detail::histogram_impl> { |
| 27 | public: |
| 28 | Histogram(unsigned pNBins, forge::dtype pDataType) |
| 29 | : ChartRenderableBase<detail::histogram_impl>( |
| 30 | std::make_shared<detail::histogram_impl>(pNBins, pDataType)) { |
| 31 | } |
| 32 | |
| 33 | Histogram(const fg_histogram pOther) |
| 34 | : ChartRenderableBase<detail::histogram_impl>( |
| 35 | reinterpret_cast<Histogram*>(pOther)->impl()) { |
| 36 | } |
| 37 | }; |
| 38 | |
| 39 | class Plot : public ChartRenderableBase<detail::plot_impl> { |
| 40 | public: |