css - Primefaces 5.0 Chart Customization-Bar Chart Grid Lines & Labels -
I need to change the axis label of grid lines and bar charts. I .jqplot-series-canvas and the background color of the grid lines has changed. Just to change the text labels of X and Y axis, I have tried to make changes using CSS:
.jqplot-yaxis-tick { Color: #ffffff! Important; }
But it does not work.
.xhtml file
& lt; P: chart type = "bar" model = "# {dashboard controller.moththaferburg}" style class = "chart" style = "width: 1000px; height: 400px; margin: 0 auto;" / & Gt;
Bean .java file
monthoffierbar modell = new bar chart (); MonthOfYearBarModel.setSeriesColors ("e3e3e3"); FeesbmansAfkchurchirair = new chartshares (); FeesByMonthsOfCurrentYear.setLabel ("Monthly"); MonthOfYearBarModel.setTitle ("Monthly"); Axis XFIOfMonthx = MonthEoffirebarModel.etaxis (AxisType.x); XFeeOfMonthAxis.setLabel ("month"); Axis yFeeOfMonthAxis = MontherOfferModel.etxis (AxisType Y); YFeeOfMonthAxis.setLabel ("fee");
I did not find the way to change jqplot-axis-tick and grid lines' colors. How can I change it?
You can view from the chart
Comments
Post a Comment