![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
| Summary: | [TJ71015771] LabelStyle not working. Code to reproduce: var bar1 = tChart1.addSer... | ||
|---|---|---|---|
| Product: | Java TeeChart | Reporter: | narcís calvet <narcis> |
| Component: | Axes | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | major | CC: | yeray |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
AxisLabelStyle.MARK instead of AxisLabelStyle.TEXT seems to work fine in TeeChart Java Swing. |
LabelStyle not working. Code to reproduce: var bar1 = tChart1.addSeries(22); // 3 = Line 22 = Surface var labels = new Array("1Y","2Y","3Y","4Y","5Y","7Y","10Y"); var zval = new Array(1,2,3,4,5,7,10); var xval = new Array(1,2,3,6,2,3,4,5,7,10); var yval = new Array(29.32,27.16,26.22,25,24.49,24.05,23.94 ,28.62,27.19,26.37,24.98,24.53,23.89,23.85 ,27.9,26.89,25.67,24.42,24.04,23.73,23.49 ,26.04,24.96,23.65,22.71,22.22,22.07,22.24 ,24.49,22.59,21.78,20.92,20.61,20.37,20.5 ,20.81,19.88,19.42,18.85,18.68,18.6,18.32 ,18.71,18.11,17.73,16.57,17.02,16.99,17.12 ,17.76,17.11,16.7,16.39,16.25,16.18,15.73 ,16.72,16.05,15.6,15.34,15.19,15.01,14.83 ,15.73,15.4,14.74,14.89,14.41,14.52,13.97 ,17.69,14.6,14.93,14.46,13.46,13.25,13.36); var y=0; for (var x = 0; x < xval.length; x++) { for (var z = 0; z < zval.length; z++) { bar1.add(xval[x], yval[y++], zval[z], labels[z]); } } bar1.setIrregularGrid(true); tChart1.getAxes().getDepth().setVisible(true); tChart1.getAxes().getDepth().getLabels().setStyle(AxisLabelStyle.TEXT); tChart1.getAxes().getBottom().getLabels().setStyle(AxisLabelStyle.VALUE); [created:2011-10-03T15:24:58.000+01:00 reported by:narcis@steema.com reported in version:2011.03.30407 (TeeChart VCL)]