NetCharts Pro 4.0 Release Notes and New Features
-
4.0
- Font Specifications
- NetCharts Pro charts use the bold style of a font by default. Users may override this behavior by
adding the word "Plain" to the end of a font specification.
- New CDL Parameter - Dial Clip
- NetCharts Pro introduces the
DialClip CDL parameter. The DialClip
parameter allows chart developers to specify a clip area to be defined within a dial chart. Only this clip
area will be included within the generated image. This parameter can be used to show only
a half or quarter of a dial chart. See the API Documentation for the
netcharts.pro.charts.dial.NFDialchart class for more details regarding the DialClip property.
- CDL Parameter - PieSize
Piesize controls the minimum and maximum size of the actual pie in a piechart. This allows programmers
to ensure that a piechart will always be the same size regardless of the size of the legend of slice labels.
See the API documentation for netcharts.pro.charts.pie.NFPiechart for complete details.
- Updates CDL Parameter - SliceLabelContent
SliceLabelContent has been modified to allow programmers increased control over piechart labeling.
See the API documentation for netcharts.pro.charts.pie.NFSliceLabel for complete details.
- Axis Autoscale Behavior
- Previously, all three attributes of the Scale CDL parameter needed to be
specified or the chart would be autoscaled. NetCharts Pro now allows you to specify any of the three
attributes of the scale. If you do not specify all of the attributes, NetCharts Pro will use auto-scaling,
but the specified components of the scale will now be used as part of the auto-scaling.
- Rollover Code Location
- The JavaScript code that NetCharts Pro
generates and uses for client side interactivity must be included
in your JSP or ASP pages within the HTML <body> element
but should not be included within an HTML container element such
as <div> or <table> elements. Also, we recommend for
cross-browser support, that this JavaScript be inserted after some other HTML code.
Some browsers have issues with page layouts that include HTML
<div> elements with hidden visibility.
- HTTP Session/Cookie Usage
- When using the NFServletUtil to generated pages that include charts, an HTTP Session is used to
store and retrieve the generated image to return to the client. This scenario requires that a client-side
cookie be saved. When cookie-blockers such as AdSubtract are used to block cookies from the site serving
the chart image, the client will not be able to view the image and will instead show a broken image. To fix
this issue, enable cookies for the site serving the image.
- Printing Images served by NFServletUtil
- When using the NFServletUtil to generate pages that include charts, the img element produced
contains a src attribute that points back to the same page. The page then uses the NFServletUtil class
to serve the image to the client utilizing a HTTP Session. When printing images straight from the
browser window, or copying the image to paste into another program, the availability of the image
depends on the caching configuration of the browser. If the browser is configured to always retrieve the
page or image source and not use any caching, then the image will not print properly. To correct this
issue, modify the cache settings of the browser to utilize the cache in some manner. This will cause
the browser to pull the image data from the cache and will allow for printing and copying.
>