Analytica 5.2 beta Release Notes/Changes in 5.2.4
This page lists fixes/changes in Analytica & ADE beta build 5.2.4 since the previous 5.2.3 beta build.
For what's new since 5.1, see What's new in Analytica 5.2?
OnGraphDraw
Build 5.2.4 exposes the OnGraphDraw attribute. It was present in Analytica 5.1 as an experimental and somewhat hidden feature, enhancements in this build make it much easier to use and hence, ready to be moved out of experimental status. These enhancements include:
- New function GraphToCanvasCoord, which makes it much easier to map a data value to a pixel coordinate for drawing.
- The OnGraphDrawFlags appear in the Object Window as checkboxes with the OnGraphDraw attribute. So you can configure these from the GUI without having to do it from Typescript.
- OnGraphDraw appears in the Attributes dialog, so you make the attribute show up by checking it there.
- Exposed several new items of information in the
infoandroleslocal variables, which you may want in some circumstances when drawing info. For example, these were added to theinfo(i.e., these are new items in theOnGraphDrawItemindex:- Result
- ChartType
- ViewMode
- SwapXY
- BarOverlap
- BarWidth, BarWidthPix, CategoryGap, CategoryGapPix (these are only available after data rendering and are for bar charts only)
Each role in the roles local variable has these new items in its GraphFillerInfo index
- Reversed (boolean -- is the axis reversed?)
- Labels (the categorical labels and their rendered order)
- Value (the actual data values for the main result along this axis)
- Note: Two items, "Log abs min" and "Rounding unit" are missing (a bug), to be fixed in next beta build.
Comments
Enable comment auto-refresher