eclipse / swtchart

Eclipse Public License 2.0
44 stars 41 forks source link

Improve Export - ChartType #223

Closed eselmeister closed 4 years ago

eselmeister commented 4 years ago

In most cases, the export works generically using the data series, e.g.:

In some cases, the export tries to define the chart type:

It's possible to extend the ScrollableChart directly. In such a case, the export can't determine the specific export type, e.g.:

eselmeister commented 4 years ago

It's possible to define the chart type now. This is done in most cases automatically. But it can be set also via code, e.g. if a chart extends from ScrollableChart and the user switches between different display types (line, bar). It's not the most elegant solution, but it helps to enable export support for R and SVG even if the scrollable chart is used directly.