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

withMarkers does not work in RadialBar #126

Open
davidclaesson opened this issue Oct 5, 2021 · 0 comments
Open

withMarkers does not work in RadialBar #126

davidclaesson opened this issue Oct 5, 2021 · 0 comments
Labels
bug Something isn't working will accept PR

Comments

@davidclaesson
Copy link

.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

@davidclaesson davidclaesson added the bug Something isn't working label Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working will accept PR
Projects
None yet
Development

No branches or pull requests

2 participants