appreciated/apexcharts-flow

withMarkers does not work in RadialBar

davidclaesson opened this issue · 0 comments

.withMarkers is not taken into account for .setLegend in RadialBar

public static ApexCharts radialBarChart() {
	ApexCharts chart = new ApexCharts();
    chart.setChart(ChartBuilder.get()
            .withType(Type.radialBar)
            .build());
    chart.setLegend(LegendBuilder.get()
    		.withShow(true)
    		.withOffsetY(-10.0)
    		.withOnItemClick(new OnItemClick(false))
    		.withPosition(Position.bottom)
    		.withMarkers(com.github.appreciated.apexcharts.config.builder.MarkersBuilder.get()
    				.withSize(20.0, 20.0)
    				.withShape(Shape.square)
    				.build())
    		.build());
    chart.setSeries(90.0);
    return chart;

The marker should be bigger and the shape should be square

image