Skip to content
FVANCOP edited this page Dec 23, 2014 · 33 revisions

Previous Page          Next Page          Table of content

Under writing - Please be patient - available soon

What's New in version 2 ?

This chapter describes the new things introduced with version 2 (December 2014).

Option value

The biggest changes refers to the way you can specify a value for an option, a data specification of a dataset specification. With the version 2, several options, data specifications and dataset specifications can now be defined as a array of values or as a function. This could be done for almost all options, but it has been implemented to only the ones where it would make a sense. I you have a need for an option where it is not yet implemented, it should be easy to make the change in the code. Just ask for it (open an issue for it and an explanation why you will use it) and it will be implemented.

See description in new wiki document Options Array/Function

With this new possibility, several open requests could be resolved (Issue 169, issue 187, issue 84, issue 198).

Options for which it has been implemented :

  • all inGraphData options
  • markerShape
  • pointDotStrokeColor
  • pointDotStrokeWidth
  • scaleSteps
  • scaleStartValue
  • scaleStepWidth
  • AnnotateDisplay
  • bezierCurve
  • bezierCurveTension
  • graphMin (a function can be associated, not an array)
  • graphMax (a function can be associated, not an array)

Data specification for which it is implemented :

  • color

Datasets specifications for which it is implemented :

  • StrokeColor
  • fillColor
  • makerShape
  • pointDotStrokeColor
  • pointDotStrokeWidth

TODO : describe the parameters for the functions;

New specifications

New specifications for Line datasets and for Radar datasets :you can now draw several markers on points : circles, diamonds, squares, plus, cross and triangles.

markers

New variables for templates

With the first version of ChartNew.js, variables v1->v12/v13 could be used in templates for InGraphData and Annotates. With version 2, lot of others variables can be used. And adding a new variable would be easy. So if you have a request for an additional variable, just ask for it (open an issue for it and explain which variable you want) and it will be added.

see : TO BE WRITTEN

New options

Several new options have been implemented :

see : TO BE WRITTEN

Main fixed bugs

In version 2, lot of bugs were fixed. This is a list of the main fixed bugs. Lot of other not yet reported bugs were discovered during the tests phase and have been fixed.

Previous Page          Next Page          Top of Page

Clone this wiki locally