Ludo Stellingwerff
876e0ab83e
Graph2d performance enhancement ( #2281 )
* Important performance enhancement supporting incremental changes to large graphs, these were too slow due to doing a full item conversion on each add().
Note: the data handling side of graph2d is currently somewhat over-engineered (=too complex) It can use some simplification....
* Fixed style based on feedback.
8 years ago
Ludo Stellingwerff
82f6bc803b
Fixed initial load performance issue, triggered by failing comparison on Date objects.
9 years ago
Ludo Stellingwerff
8f4e9e9c8f
Several changes to get the performance on dragging back in check.
9 years ago
Ludo Stellingwerff
00436ab177
Major redesign of data axis/scales, with large focus on creating a sane slave axis setup
9 years ago
Ludo Stellingwerff
f462072d46
Fixed #1592 : Emit a "changed" event after each redraw. Made "change" event private (by prefixing _).
9 years ago
Ludo Stellingwerff
bbf04d3489
Fixed #1403 : Graph2d change yAxisOrientation,
Cleanup of linegraph's event handling
Fixed #1557 : Make sure we don't default to scientific notation.
Couple of minor fixes in group counts and ranges.
9 years ago
Ludo Stellingwerff
257d876e14
-Fix default axis formatting function. Fixes #1557 .
-Keep single defaults location
-Update documentation on formatting function.
9 years ago
Ludo Stellingwerff
4c721d4cfb
Remove non-implemented option again.
9 years ago
Ludo Stellingwerff
95d46a3d54
Introducing "point" style as new label for "points", consistency in naming.
Some fixes and cleanups after the large rewrite.
9 years ago
Ludo Stellingwerff
5249806fbd
Introducing a zindex option to control the svg render order.
Provide the DataView.map() method similar to the DataSet one.
9 years ago
Ludo Stellingwerff
af8971f572
Prevent excessive rerendering and unknown group warnings.
9 years ago
Ludo Stellingwerff
a582f7d762
Fix couple of off-by-one errors
Add some enhancements for stacking (especially with regard to shading)
9 years ago
Ludo Stellingwerff
9ebdaa9d15
Fix bar graph Y-axis scale with stacking bar graphs.
9 years ago
Ludo Stellingwerff
f53a8b73ab
Don't copy datapoints on every render, only add render data to existing copy.
9 years ago
Ludo Stellingwerff
da29bb0aa8
Another significant scalability optimization
9 years ago
Ludo Stellingwerff
c4d4fd4dec
More cleanups, more optimisations:
-Never push into arrays that have a known length
-Move more functions back into the main updateGraph method
9 years ago
Ludo Stellingwerff
88393739d9
Couple of performance gains in data insertion.
9 years ago
Ludo Stellingwerff
57a4c1f562
Fix placement of points in bar's side-by-side view
Fix no-group data input case.
9 years ago
Ludo Stellingwerff
a44e88ef6d
Introducing group based shading
Separate shading from line drawing (fixes drawing order)
Cleanup of draw code
Fix icon-shading CSS override
9 years ago
Ludo Stellingwerff
22a964daea
Fix DataView for Graph2d, cleanup group initialisation.
9 years ago
jos
04d3b97532
Fixed #1385 : Draw lines on top of bars
9 years ago
Stefan de Konink
df3e87676e
Add the missing group reference identification to exception.
9 years ago
AlexDM0
f7326745aa
- Fixed bug where 0 axis was always in the automatically fitted range.
9 years ago
Alex de Mulder
633e689d90
updated docs
9 years ago
jos
03d0e258c6
Fixed #872 : error about deprecated function `unsubscribe`
9 years ago
Alex de Mulder
c2b07f0201
fixed #858
9 years ago
Alex de Mulder
b9ff0eb827
added validator to graph2d, maybe also put it in groups?
9 years ago
Alex de Mulder
20ef9a15f9
made new graph2d docs, fixed graph2d examples, updated graph2d options
9 years ago
jos
a75b8e7715
Fixed #716 : Height of graph `2px` too large when configuring a fixed height.
9 years ago
Alex de Mulder
4d57a6df7c
unified options with timeline, updated docs and configurator
9 years ago
Alex de Mulder
7fc617faa7
reformatted options for graph2d dataAxis, docs to follow. New docs have statically linked menu bars, switched to uuid library for uuid v4 rfc4122 UUIDs ( #432 )
9 years ago
Alex de Mulder
99ed2be7f7
fixed align zero by rewriting that part. #728
9 years ago
jos
b3e3dccad7
Refactored the css of Timeline and Graph2d to have a `vis-` prefix everywhere. (Still a small issue in Graph2d)
9 years ago
Alex de Mulder
ca85e86be2
merged #635 , thanks @tobeee !
10 years ago
Alex de Mulder
65664e178b
fixed catch for undefined in options when using stacking in graph2d
10 years ago
Alex de Mulder
09ac156995
fixed bug in graph2d where only height was defined and resizing was not done correctly
10 years ago
Alex de Mulder
52cd648dea
reverted showMinor/MajorLines options
10 years ago
Alex de Mulder
b433c191d8
- DataAxis width option now draws correctly. #510
10 years ago
Alex de Mulder
907cbd2a1c
fixed relative height change on resize of browser as well as horizontal snapping when dragging window size. Improved consistancy with component
10 years ago
Alex de Mulder
cac743a3d3
- added show major/minor lines options to dataAxis and timeline
10 years ago
Alex de Mulder
ac74e826b0
fixed graph2d not updating on animation correctly
10 years ago
jos
b2a5899336
Fixed broken barCharts with handleOverlap=='stack'
10 years ago
jos
d97fcd6379
Fixed groups not being filtered after setOptions
10 years ago
Alex de Mulder
e05e8b9988
fixed infinite loop when clearing dataset
10 years ago
Alex de Mulder
4fee1a2c9a
Fixed height increase on scolling if only graphHeight is defined.
10 years ago
Alex de Mulder
6d20187feb
added alignZeros
10 years ago
Alex de Mulder
3b9142fdf0
fixed disappearing items
10 years ago
Alex de Mulder
6a93703749
modularized graph2d draw styles, added point style.
10 years ago
jos
a6ff28f38b
Fixed an issue with graphHeight in Graph2d
10 years ago
Alex de Mulder
7c23ffa3c1
fixed clean up of icons, titles, fixed some style issues, typos
10 years ago