1. on Northwind Orders execute the chartscript below. The bolded portion of the script was taken from the chartscript niels emailed ( at the very bottom of this issue).
2. Notice in the attached "screen shot 2013-02-14 at 9.58.08 AM.png" in the bottom right quadrant that the text labels are stacking far to the bottom. Could it be the "Split=521" is forcing the text to be shifted left and down because there isn't enough width for it while "Fit to Image" is enabled?
3. Although Niels indicates he saw errors in his logs for this on v12.0.16, I do not see such errors in my logs on 12.0.15-3 or on 13.0.0 r6.
Matt,
I generated the script below in ADS 13.0. The pie chart in 13.0-rc-7 had labels positions which seem incorrect to me. See attached. So I than ran the script in ADS 12.0.16 and I get this exception :
java.lang.ArrayIndexOutOfBoundsException: -85
at com.sun.opengl.util.j2d.TextRendererImpl$GlyphProducer.getGlyph(TextRendererImpl.java:1643)
at com.sun.opengl.util.j2d.TextRendererImpl$GlyphProducer.getGlyphs(TextRendererImpl.java:1573)
at com.sun.opengl.util.j2d.TextRendererImpl.internal_draw3D(TextRendererImpl.java:799)
at com.sun.opengl.util.j2d.TextRendererImpl.draw3D(TextRendererImpl.java:516)
Do we have a bug in ADS 13.0? Do we have a bug in ADS 12.0?
thanks
-Niels
select * from orders where registration_date > '2012-1-1'
GO
.setPivotResultSettings 'Index=1,
RowFields="[contact_country] {None,SummaryCount,GrandCount}",
DataFields="[order_total] {None,SummarySum,GrandSum} ASC",
ShowChart=true,
ShowToolbar=true,
Paging=true,
Split=521,
Chart="{pie}",
Theme=default,
RotX=341,
RotY=-4,
RotZ=0,
ZoomScalar=0.9600001,
ShowLegend=true,
ShowLegendBorder=true,
ShowGrid=true,
FillGrid=true,
GridOpacity=0.5,
GridLineWidth=1.0,
Title="",
TitlePosition="Bottom Center",
TitleCategory="",
TitleValue="",
UseTitleMargin=false,
UseAxisTitleMargin=false,
AxisTitleOnEdge=false,
PieExplode=0.0,
GroupSmallValues=true,
SmallValuesThreshold=1.5,
PieLabelDistance=3.0,
PieShowLines=false,
LineWidth=1.0,
ShowMarkers=true,
MapShowBackground=false,
MapShowDetails=false,
MapRange="",
MapRangeColors="",
Width=16.0,
Height=10.0,
Depth=5.0,
SeriesSpacing=1.0,
CategorySpacing=1.0,
Font=Arial-PLAIN-10,
LegendFontSize=1.0,
SeriesFontSize=1.0,
CategoryFontSize=1.0,
ValueFontSize=1.0,
TitleFontSize=1.75,
AxisTitleFontSize=1.25,
DataLabelFontSize=1.0,
TopColor=#ebf0f5,
BottomColor=#d7dcf5,
PanX=0.0,
PanY=0.0,
Lighting=Default,
Opacity=1.0,
View2D=true,
FitChartToImage=true,
StackedPercent=false,
ShowValueAxis=true,
ShowValueAxisTicks=true,
ShowValueAxisLines=true,
ReverseValueAxis=false,
ShowCategoryAxis=true,
ShowCategoryAxisTicks=true,
ShowCategoryAxisLines=true,
ShowSeriesAxis=true,
ShowDataLabels=false,
ValueAxisNumberFormat="",
CategoryAxisNumberFormat="",
CategoryAxisDateFormat="",
CategoryAxisDateTimeFormat="",
CategoryAxisTimeFormat="",
SeriesAxisNumberFormat="",
SeriesAxisDateFormat="",
SeriesAxisDateTimeFormat="",
SeriesAxisTimeFormat="",
NumericCategoryAxis=false,
MergeAxis=true,
SeriesAlias="default",
SeriesSubType="",
SeriesColumnType="Cube",
SeriesMin="default",
SeriesMax="default",
SeriesColor="default",
SeriesFunctionMetaData="true",
ShowSeriesDataLabels="false",
LegendPosition=Top Right,
LegendWidthType=Fit,
LegendWidth=100,
LegendHeightType=Fit,
LegendHeight=160,
UseLegendMargin=false,
ShowFixedCategoryCount=false,
FixedCategoryCount=0,
ShowFields=true,
ShowTotal=true,
ShowSubTotal=false,
SortDataAscending=false,
SortDataRowIndex=1,
SortDataColIndex=0'
Issue #8351 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build 31438 |
No time estimate |
Fixed in