Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[swtchart-dev] GSoC 2020:Extending the Export Options

Hi,
Regarding improvements in R export,
I saw that the current R export plots the data series as type=l in case of line chart which makes it plot the same way everytime even when the LineStyle of SWTChart may be different,
to overcome this problem we could first get the LineStyle setting from the basechart and set the same linestyle in the R export
e.g.-baseChart.getSeriesSettings().getLineStyle()
the various line styles in r could be set by using the lty= parameter in plot()
like lty=1 for dashed line style.
The same can be done for PlotSymbolTypes by using pch= parameter in points().

Also I saw that the legend in R export can sometime make readability of chart poor like in the attached file,
What do you think about adding a legend outside the plot area? 

Best,
Yash

Attachment: Untitled.R
Description: Binary data


Back to the top