Hi Isomorphic,
I am using SmartGWT Pro 12.0
I want to rotate X-Axis labels for facetchart.
Value for chart is given as [date and time] for starting, ending points and if date changed.
Value for chart is given as [time] for remaining points
If i am using following property
counterHistoryAreaChart.setRotateLabels(LabelRotationMode.NEVER);
Then try to rotate label with some angle.I am getting Overlap issue and half of information is hidden.
Kindly let me know how to solve this issue
Thank you.
Sample source code is:
lable = new DrawLabel();
lable.setFontSize(13);
lable.setRotation(270.0);
lable.setAlignment(LabelAlignment.RIGHT);
counterHistoryAreaChart = new FacetChart();
counterHistoryAreaChart.setDataLabelProperties(lable);
counterHistoryAreaChart.setRotateLabels(LabelRotationMode.NEVER);
counterHistoryAreaChart.setFacets(dateFacet, levelFacet);
counterHistoryAreaChart.setValueProperty("counterValue");
counterHistoryAreaChart.setChartType(ChartType.COLUMN);
counterHistoryAreaChart.setTitle(chartTitle);
counterHistoryAreaChart.setShowShadows(false);
counterHistoryAreaChart.setMaxBarThickness(120);
counterHistoryAreaChart.setCanSelectText(true);
counterHistoryAreaChart.setHeight(600);
counterHistoryAreaChart.setWidth100();
counterHistoryAreaChart.setDataColors(counterColor);
I am using SmartGWT Pro 12.0
I want to rotate X-Axis labels for facetchart.
Value for chart is given as [date and time] for starting, ending points and if date changed.
Value for chart is given as [time] for remaining points
If i am using following property
counterHistoryAreaChart.setRotateLabels(LabelRotationMode.NEVER);
Then try to rotate label with some angle.I am getting Overlap issue and half of information is hidden.
Kindly let me know how to solve this issue
Thank you.
Sample source code is:
lable = new DrawLabel();
lable.setFontSize(13);
lable.setRotation(270.0);
lable.setAlignment(LabelAlignment.RIGHT);
counterHistoryAreaChart = new FacetChart();
counterHistoryAreaChart.setDataLabelProperties(lable);
counterHistoryAreaChart.setRotateLabels(LabelRotationMode.NEVER);
counterHistoryAreaChart.setFacets(dateFacet, levelFacet);
counterHistoryAreaChart.setValueProperty("counterValue");
counterHistoryAreaChart.setChartType(ChartType.COLUMN);
counterHistoryAreaChart.setTitle(chartTitle);
counterHistoryAreaChart.setShowShadows(false);
counterHistoryAreaChart.setMaxBarThickness(120);
counterHistoryAreaChart.setCanSelectText(true);
counterHistoryAreaChart.setHeight(600);
counterHistoryAreaChart.setWidth100();
counterHistoryAreaChart.setDataColors(counterColor);
Comment