You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
@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 :)
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
The text was updated successfully, but these errors were encountered: