From 0c9703016c44c932648d1d89adae73db751a94ad Mon Sep 17 00:00:00 2001 From: jos Date: Mon, 4 May 2015 15:14:37 +0200 Subject: [PATCH] Reviewed/updated all timeline examples --- docs/network/new_network.html | 1 - docs/timeline.html | 2 +- examples/network/02_random_nodes.html | 2 +- examples/timeline/01_basic.html | 8 ++++++- ..._interactive.html => 02_manipulation.html} | 8 +++---- examples/timeline/03_performance.html | 11 +++++---- examples/timeline/04_html_data.html | 5 ++-- examples/timeline/05_groups.html | 3 ++- examples/timeline/06_event_listeners.html | 6 ++++- examples/timeline/07_custom_time_bars.html | 24 +++++++++++++------ ...ms.html => 08_manipulation_callbacks.html} | 7 +++--- ...er_groups.html => 09_groups_ordering.html} | 7 +++--- examples/timeline/10_limit_move_and_zoom.html | 3 ++- .../{11_points.html => 11_point_items.html} | 5 ++-- examples/timeline/12_custom_styling.html | 10 +++++++- examples/timeline/13_past_and_future.html | 3 ++- ...nce.html => 14_performance_of_groups.html} | 3 ++- examples/timeline/15_item_class_names.html | 3 ++- examples/timeline/16_navigation_menu.html | 8 ++++++- examples/timeline/17_data_serialization.html | 3 ++- examples/timeline/18_range_overflow.html | 3 ++- examples/timeline/19_localization.html | 3 ++- examples/timeline/20_click_to_use.html | 3 ++- examples/timeline/21_set_selection.html | 3 ++- ...adjustment.html => 22_animate_window.html} | 7 +++--- examples/timeline/23_data_attributes.html | 3 ++- examples/timeline/24_all_data_attributes.html | 3 ++- examples/timeline/25_background_areas.html | 3 ++- ...l_data.html => 26_load_external_data.html} | 4 ++-- examples/timeline/27_templates.html | 3 ++- ...em_ordering.html => 28_item_ordering.html} | 2 ++ ...ding_times.html => 29_hiding_periods.html} | 6 ++++- examples/timeline/30_subgroups.html | 3 ++- .../31_background_areas_with_groups.html | 3 ++- examples/timeline/32_grid_styling.html | 3 ++- examples/timeline/33_custom_snapping.html | 3 ++- examples/timeline/index.html | 21 ++++++++-------- .../timeline/requirejs/requirejs_example.html | 3 ++- 38 files changed, 133 insertions(+), 68 deletions(-) rename examples/timeline/{02_interactive.html => 02_manipulation.html} (73%) rename examples/timeline/{08_edit_items.html => 08_manipulation_callbacks.html} (88%) rename examples/timeline/{09_order_groups.html => 09_groups_ordering.html} (79%) rename examples/timeline/{11_points.html => 11_point_items.html} (85%) rename examples/timeline/{14_group_performance.html => 14_performance_of_groups.html} (86%) rename examples/timeline/{22_window_adjustment.html => 22_animate_window.html} (84%) rename examples/timeline/{26_external_data.html => 26_load_external_data.html} (77%) rename examples/timeline/{35_item_ordering.html => 28_item_ordering.html} (97%) rename examples/timeline/{29_hiding_times.html => 29_hiding_periods.html} (80%) diff --git a/docs/network/new_network.html b/docs/network/new_network.html index 00960874..41050a33 100644 --- a/docs/network/new_network.html +++ b/docs/network/new_network.html @@ -20,7 +20,6 @@ - - +

Generate a random network with nodes and edges. diff --git a/examples/timeline/01_basic.html b/examples/timeline/01_basic.html index cb44871d..16ea4d4f 100644 --- a/examples/timeline/01_basic.html +++ b/examples/timeline/01_basic.html @@ -11,8 +11,14 @@ - + + + +

+ A basic timeline. You can move and zoom the timeline, and select items. +

+
- + + -

Drag items around, create new items, and remove items.

+

An editable timeline allows to drag items around, create new items, and remove items.

@@ -42,7 +43,6 @@ var options = { start: '2014-01-10', end: '2014-02-10', - orientation: 'top', height: '300px', editable: true, diff --git a/examples/timeline/03_performance.html b/examples/timeline/03_performance.html index 9ceae154..ea62549a 100644 --- a/examples/timeline/03_performance.html +++ b/examples/timeline/03_performance.html @@ -1,7 +1,7 @@ - Timeline | a lot of data + Timeline | performance - + +

This example shows how to use callback functions onAdd, onMove, onMoving, onUpdate, and onRemove. The onMoving function updates an item while dragging, and can be used to prevent the item from being drawn at disallowed or infeasible timeslots. In this example, the items cannot be moved outside of the month April 2013. The other callback functions are called after an add, move, update, or remove action has taken place, and can be used to cancel these actions. diff --git a/examples/timeline/09_order_groups.html b/examples/timeline/09_groups_ordering.html similarity index 79% rename from examples/timeline/09_order_groups.html rename to examples/timeline/09_groups_ordering.html index 5ae2ab08..508afc71 100644 --- a/examples/timeline/09_order_groups.html +++ b/examples/timeline/09_groups_ordering.html @@ -1,7 +1,7 @@ - Timeline | Order groups + Timeline | Groups ordering - + + +

+ The style of the Timeline can be fully customized via CSS: +

- + +

diff --git a/examples/timeline/14_group_performance.html b/examples/timeline/14_performance_of_groups.html similarity index 86% rename from examples/timeline/14_group_performance.html rename to examples/timeline/14_performance_of_groups.html index c1d905b3..82ec0536 100644 --- a/examples/timeline/14_group_performance.html +++ b/examples/timeline/14_performance_of_groups.html @@ -11,7 +11,8 @@ font: 10pt arial; } - + +

Timeline grouping performance

diff --git a/examples/timeline/15_item_class_names.html b/examples/timeline/15_item_class_names.html index 096c9dad..8e08eab7 100755 --- a/examples/timeline/15_item_class_names.html +++ b/examples/timeline/15_item_class_names.html @@ -65,7 +65,8 @@ } - + +

This page demonstrates the Timeline with custom css classes for individual items.

diff --git a/examples/timeline/16_navigation_menu.html b/examples/timeline/16_navigation_menu.html index 039d8fbb..6494e776 100755 --- a/examples/timeline/16_navigation_menu.html +++ b/examples/timeline/16_navigation_menu.html @@ -24,8 +24,14 @@ - + + + +

+ Create your own navigation menu by creating an overlay with buttons to zoom and move. +

+