Hi fellows!
I need some help please!
I have 2 stacked column, with positive and negative values. However, column for positive values doesnt display starting from yAxis = 0, instead, start from bottom of chart, including for null values.
Negatives values (red column) is ok.
Any idea of what I am missing?..
-------------------------
grafico.setAnimate(true);
grafico.setStacked(true);
grafico.setMouseoverHighlight(false);
grafico.setBreakOnNull(true);
grafico.getAxes().put(AxisType.X, new CategoryAxis("Dates"));
Axis xAxis = grafico.getAxis(AxisType.X);
xAxis.setTickAngle(-50);
Axis yAxis = grafico.getAxis(AxisType.Y);
yAxis.setLabel("% field A");
yAxis.setTickFormat("%.1f%");
Axis y2Axis = new LinearAxis("Registros");
y2Axis.setMin(0);
grafico.getAxes().put(AxisType.Y2, y2Axis);
-------------------------
I appreciate any help! Thanks!
Help plz with chart error!
I would put a test case together using the test project.
Clone this repository https://github.com/primefaces/primefaces-test.git in order to reproduce your problem, you'll have better chance to receive an answer and a solution.
if you still have the issue after creating this Test Project attach it and report a GitHub Issue.
Clone this repository https://github.com/primefaces/primefaces-test.git in order to reproduce your problem, you'll have better chance to receive an answer and a solution.
if you still have the issue after creating this Test Project attach it and report a GitHub Issue.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 24 guests