Skip to content

Unable to Create a BarChart in primefaces-14.0.6-jakarta #2953

Answered by melloware
balci asked this question in PrimeFaces
Discussion options

You must be logged in to vote

See my example: https://quarkus-faces-melloware-8a6a34c1.koyeb.app/ui/chart/bar.xhtml

You need to use https://github.com/xdev-software/chartjs-java-model

import software.xdev.chartjs.model.charts.BarChart;
import software.xdev.chartjs.model.charts.BubbleChart;
import software.xdev.chartjs.model.charts.DoughnutChart;
import software.xdev.chartjs.model.charts.LineChart;
import software.xdev.chartjs.model.charts.MixedChart;
import software.xdev.chartjs.model.charts.PieChart;
import software.xdev.chartjs.model.charts.PolarChart;
import software.xdev.chartjs.model.charts.RadarChart;
import software.xdev.chartjs.model.charts.ScatterChart;
import software.xdev.chartjs.model.color.RGBAColor;
import 

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@balci
Comment options

@melloware
Comment options

Answer selected by melloware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
2 participants