Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SeriesType.Polygon #80

Open
pascalhubue opened this issue Sep 27, 2017 · 1 comment
Open

SeriesType.Polygon #80

pascalhubue opened this issue Sep 27, 2017 · 1 comment

Comments

@pascalhubue
Copy link

Hi
I try to use this great tool to prepare Java-Objects.

I can add a CoordinatesSeries type of SCATTER to my Object options (with some parameters):
CoordinatesSeries seriesCoord = new CoordinatesSeries();
seriesCoord.setType(SeriesType.SCATTER);
options.addSeries(seriesCoord);

I need to use polygons as well, but cannot/find no SeriesType.POLYGON.

How do I have to ad a polygon?

My json should finally inlcude a polygon like the following:
series: [{ type: 'scatter',
name: 'refPortfolio',
data: [[45,75]],
marker: {
fillColor: '#CDD5BE',
lineColor: '#587521',
symbol: 'circle',
radius: 10
},
zIndex: 8
},{
name: 'Target',
type: 'polygon',
data: [[41.0, 3.67], [51.0, 2.67], [65.0, 10.67], [71.0, 22.67]],
color: '#DFB794',
zINdex: 2
}]

Or is there another way to define a polygon?

Thanks for your support!
Cheers
Pascal

@maximAtanasov
Copy link
Member

@pascalhubue
Hello, unfortunately we do not actively support Highcharts anymore due to it's license model.
Our focus is now on Chart.js, which is completely free. Feel free to try out the latest 3.1.0 version of Wicked-Charts using Chart.js.

If however this issue is important to you and you have a fix, feel free to create a pull request.
Contributions are always welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants