forked from FVANCOP/ChartNew.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
improvements_change_history
207 lines (196 loc) · 14.9 KB
/
improvements_change_history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
Change history
--------------
20/06/2015 - Yevdo Abramov - abreviateNumber added in add-ins/format.js
11/06/2015 - Vancoppenolle François - Fix issue 276 reported by Henry Thasler
09/06/2015 - Vancoppenolle François - DrillDown add-ins created
- new options annotateFunctionIn / annotateFunctionOut
- new option contextMenu
- fix a bug with mouse actions in IExplorer
02/06/2015 - Vancoppenolle Francois - Fix issue 294 reported by Robsk
20/05/2015 - mehdihaddad - fix an error + remove lot of warnings - see issue 289 & 290.
13/05/2015 - mehdihaddad - fix an error when we resize the window
12/05/2015 - Vancoppenolle Francois - options responsiveScaleContent and responsiveWindowInitialWidth added
06/05/5015 - Vancoppenolle Francois - code updated to allow borders around text and background color for text.
(idea proposed by Omar Sedki)
- fix a bug with logarithm axis.
20/04/2015 - Vancoppenolle Francois - code updated to allow user defined line styles.
17/04/2015 - Vancoppenolle Francois - style and line styles possibilities has been expanded
01/04/2015 - Omar Sedki - stroke and line styles added (issue 266)
09/02/2015 - Vancoppenolle Francois - Fix bugs/problems (issues 76 and 200)
26/01/2015 - Vancoppenolle Francois - Fix Bug
04/01/2015 - Doha83 - double Y Axis for Bar Chart
31/12/2014 - Matt Luedke - Fix issue 208
26/12/2014 - iKBAHT - improve function getDecimalPlaces https://github.com/FVANCOP/ChartNew.js/pull/215
22/12/2014 - Vancoppenolle François - option pointHitDetectionRadius & detectAnnotateOnFullLine added;
(improvement proposed by Voidale)
20/12/2014 - Vancoppenolle Francois - option spaceBetweenBa added (improvement proposed by kmuncie)
16/12/2014 - Omar Sedki - new marker shapes - https://github.com/FVANCOP/ChartNew.js/pull/150
16/12/2014 - Vancoppenolle Francois - ChartNew.js version 2 !
14/12/2014 - omerbonfil - Fix issue 203
11/12/2014 - Matt Luedke - break lines in title/subtitle
24/11/2014 - Vancoppenolle Francois - Fix issue 185 (Bug reported by Omerbonfil)
15/11/2014 - Joe343 - Fix Typo Issue 184
28/10/2014 - Vancoppenolle Francois - responsive options is available
- function updateChart can be used to update a graph
06/10/2014 - Vancoppenolle Francois - new options to set the legend whereever you want
- fix of several bugs
29/09/2014 - Chris2014 - default value defined for scaleLabel2
27/09/2014 - naudhr - Fix Bug to mouse functions + code reduction
25/09/2014 - Vancoppenolle François - Enhancements :
StackedBar and HorizontalStackedBar can now have negative values;
mouseWheel option added
Bugs fixed
Hover info remains on graph (issue #19)
legend not correct (inverted) for gradient Colors in Bar/Lines chart
gradient Color not displayed correctly on HorizontalBar when negative values in the data;
animation on HorizontalBar was not correct in some cases;
when max value was greater than graphMax, the (Horizontal)StackedBar graph was not correct;
24/09/2014 - Naudhr - fix bug:recursive call to mouse functions in case of graph update - Pull request #149
22/09/2014 - Ole Kröger, Omar Sedki, Vancoppenolle Francois - gradient color (see issue #102)
11/09/2014 - Ole Kröger - savePngName option added (issue #97)
05/09/2014 - Ole Kröger & Vancoppenolle Francois - double Y Axis
02/09/2014 - Vancoppenolle Francois - Mouse actions (issue #125)
10/08/2014 - Ole Kröger - fmtdatetime and improvements for fmtdate,fmttime
10/08/2014 - Ole Kröger - median computation
07/08/2014 - Vancoppenolle Francois - new statistical values computes in stats.js add-ins : skewness, kurtosis, coefficient variance, student t test
05/08/2014 - Vancoppenolle Francois - new options xScaleLabelsMinimumWidth and yScaleLabelsMinimumWidth
03/08/2014 - Jan Mortiz Lindemann - new option extrapolateMissingData
31/07/2014 - Vancoppenolle François - x values not associated to labels on axis (issue 110)
31/07/2014 - Ole Kröger - Bug with logarithm axis corrected (issue 107)
26/07/2014 - Vancoppenolle François - Bug with annotates corrected (see issue #103) - bug reported by jeppebemad
26/07/2014 - Vancoppenolle François - "stats.js" add-in created
12/07/2014 - Vancoppenolle Francois - you can now draw more than one graph on a single canvas.
11/07/2014 - Vancoppenolle François - crossImage options have been added
07/07/2014 - Vancoppenolle François - animationStartWithData option activated for Pie/Doughnut/Polararea
06/07/2014 - Vancoppenolle François - yAxisMinimumInterval option added (issue 76)
04/07/2014 - Ole Kröger & Vancoppenolle François - new possibilities for the animation with the introduction of four
new options.
animationStartWithDataset
animationStartWithData
animationLeftToRight
animationByDataset
29/06/2014 - Vancoppenolle Francois - "format.js" add-in created
26/06/2014 - Vancoppenolle François - option showSingleLegend added
18/06/2014 - Ole Kröger - draw a mean (or other math function) horizontal line (Line & Bar)
18/06/2014 - Ole Kröger - deviation vertical lines inside Line & Bar (see issue #31)
17/06/2014 - Vancoppenolle François - line break can now be defined in labels
17/06/2014 - Ole Kröger - deviation vertical lines inside line chart (see issue #31)
17/06/2014 - Ole Kröger - better animation for negative values (Line&Bar)
16/06/2014 - Ole Kröger - multiLine support for inGraphData
12/06/2014 - Ole Kröger - Add BarLine Chart (part of BarChart) (see issue #23)
11/06/2014 - Vancoppenolle François - "Personnal" corrected to "Personal"
09/06/2014 - Vancoppenolle François - Colors can be specified through a function (see issue #48)
- minor bug fixed
31/05/2014 - Vancoppenolle Francois - New options implemented : animationStartValue : 0,animationStopValue : 1,
animationCount : 1, animationPauseTime : 5,
animationBackward : false,
New options implemented : defaultStrokeColor, defaultFillColor
Bug fix for Y-Labels (only a few labels were displayed)
Bug fix for colors (see issue #46 - reported by Dave Collins)
+ Other minor bug fix
21/05/2014 - Romain Sauvaire - problem detected with Google Closure Compiler fixed (see issue #36)
20/05/2014 - Blaine Kasten - Francois Vancoppenolle - fix bug when Canvas has no ID (see issue #34)
18/05/2014 - Blaine Kasten - bug in doughNut fixed (see issue #32)
15/05/2014 - Francois Vancoppenolle & Justin Sternberg - option barBorderRadius added for Bar and horizontalBar
13/05/2014 - Francois Vancoppenolle - parameters (ctx,config,data) passed to function onAnimationComplete
13/05/2014 - Francois Vancoppenolle - fix bug for option fmtYLabel
- for all bar graphs (stacked/Horizontal), possibility to specify the color of each bar;
(request introduced by abraxas1484 - Issue 28)
- fix bug when only one value on line - signaled by Umarmukthar
10/05/2014 - John Rayes - Improvement in savePng functions - issue #26
- Changes in annotate templates - issue #24
- annotate can be defined through CSS (option annotateClassName added) - Issue #25
- Francois Vancoppenolle - fix of several bugs detected while writing the documentation.
04/05/2014 - Francois Vancoppenolle - fix of several bugs; code simplification
01/05/2014 - Francois Vancoppenolle/sjt88 - fix a problem when lot of data in the graph (more than number of available pixels)
29/04/2014 - Francois Vancoppenolle - option thousandSeparator added - Default value : ""
(request introduced by Sebastian Pertsch)
27/04/2014 - Francois Vancoppenolle - Issue 21 fixed -> No chart when entry is NULL - Bug reported by "theBear"
18/04/2014 - Francois Vancoppenolle - support for a missing data value in all chart types
- Labels in Radar and PolarArea
15/04/2014 - Francois Vancoppenolle - support for a missing data value in line chart
13/04/2014 - Francois Vancoppenolle - Bug in annotate corrected (bug reported by Varsha Vekariya)
- Bug in Pie/Doughnut inGraphData corrected
- For Pie/Doughnut, option inGraphDataRotate can now be initialized to "inRadiusAxisRotateLabels"
(request introduced by Strainy)
03/04/2014 - Francois Vancoppenolle - Labels in Pie/Doughnut (options inGraphData in the name)
27/03/2014 - Francois Vancoppenolle - Labels in StackedBar/HorizontalStackedBar (options with inGraphData in the name);
18/03/2014 - Francois Vancoppenolle - works now on Android
- default options can be changed in a smart way (charJSPersonnalDefaultOptions)
17/03/2014 - Francois Vancoppenolle - Option decimalSeparator added (default value : ".");
Correction of a bug (issue #15 problem for animationSteps);
New options (name starting with "fmt") - need to be documented;
09/03/2014 - Francois Vancoppenolle - Labels in Bar/HorizontalBar (options with inGraphData in the name);
- possibility to remove X Axis Display (options xAxisBottom)
08/03/2014 - gkres - Fix bug when all values are identical (issue #13)
04/03/2014 - Francois Vancoppenolle - Option dynamicDisplay added; If set to true, the animation of the graph starts
when the graph is visible on screen.
03/03/2014 - Francois Vancoppenolle - Correction of a bug when scale steps are defined
- Options scaleXGridLinesStep and scaleYGridLinesStep added (improvement proposed by
Ruben Rutten)
- When the X Labels is not horizontal, the position of the labels has been
readjusted.
(Bug reported by Ruben Rutten)
02/03/2014 - Francois Vancoppenolle - new option startAngle for radar chart;
- new option graphMaximized for radar chart ; By default, value is false; if set
to true, the radar will not be displayed in the middle of the canvas, but at
a place where the size of the graph is maximized;
- bug correction for startAngle in Pied, Doughtnut and PolarArea graphs;
- options savePng added;
26/02/2014 - Francois Vancoppenolle - option canvasBackgroundColor added (improvement proposed by joetime)
24/02/2014 - Francois Vancoppenolle - Review how axis are drawn (correct several bugs)
New options added (options with SpaceBefore, SpaceAfter, SpaceLeft, Space Right
in the name)
Labels inside line graph (options with inGraphData in the name)
04/02/2014 - Francois vancoppenolle - Bug for X Axis Label corrected (reported by James Barnsley)
03/02/2014 - Francois Vancoppenolle - Minor Bug correction - Code reduction (commonOptions/xyAxisCommonOptions)
02/02/2014 - Francois Vancoppenolle - Minor Bugs correction
31/01/2014 - joetime - improvements for annotations
29/01/2014 - Francois Vancoppenolle - startAngle parameter for Pie and Doughtnut
22/01/2014 - Francois Vancoppenolle - bugs fix when negative values
21/01/2014 - Francois Vancoppenolle - minor corrections for parameter "rotateLabels" + showYAxisMin parameter
18/01/2014 - Francois Vancoppenolle - rotateLabels can be choosen by the user - parameter "rotateLabels"
13/01/2014 - Ole Kroeger - Logaritmic Y-Axis for lines and bars - parameter "logarithmic"
10/01/2014 - Francois Vancoppenolle - creation of the Github entry
Future Improvements
-------------------
- merge Pie/Doughnut code (can be the same code : A pie = Dougnut with a hole having a radiant of 0...)
- small animation (https://github.com/nnnick/Chart.js/issues/357)
- non evolutive animation in Pie/Doughnut (https://github.com/nnnick/Chart.js/issues/357)
- code reduction
- animate Canvas when mouse is over a piece of graph (like in http://zurb.com/playground/pizza-pie-charts)
- dynamicDisplay defines a canvas.id when not defined; Avoid defining a canvas.id (issue 35)
- see issue #128
- doughnut(s) arround Pie - see issue #227
Known Bugs
----------
- problem with inGraphData on Pie/Doughnut
- dynamicDisplay not working on IOS 5
- Pie not working on some devices
- If the first label is long, it can be truncated
In "sample.html", if you put :
var mydata1 = {
labels : ["January this is a very long label","February","March","April","May","June","July"],
=> "January this is a very long label" will be truncated (outside of the graph area)
- not enough labels on the Y-Axis (with logarithmic options)
var negdata1 = {
labels : ["January","February","March","April","May","June","July"],
datasets : [
{
fillColor : "rgba(220,220,220,0.5)",
strokeColor : "rgba(220,220,220,1)",
pointColor : "rgba(220,220,220,1)",
pointStrokeColor : "#fff",
data : [-100,-50,-90,-81,-56,-25,-100],
title : "First data"
},
{
fillColor : "rgba(151,187,205,0.5)",
strokeColor : "rgba(151,187,205,1)",
pointColor : "rgba(151,187,205,1)",
pointStrokeColor : "#fff",
data : [-28,-48,-40,-19,-96,-27,-100],
title : "Second data"
}
]
}