Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tracknum option #51

Open
jtoner123 opened this issue Apr 3, 2012 · 2 comments
Open

tracknum option #51

jtoner123 opened this issue Apr 3, 2012 · 2 comments

Comments

@jtoner123
Copy link

that the tracknum option works similar to timeline v2.3?

@zepheiryan
Copy link
Member

Hi,

Could you elaborate more on your question? Perhaps provide a pointer / code to illustrate what you're referring to?

@jtoner123
Copy link
Author

Hi - yes sorry.

Basically Im trying to specify the track where a particular object is located in the timeline view. Currently if 2 objects have the same date/time attribute they appear on the timeline in the order they appear in the json file.

In timeline the attribute to do this is tracknum = "1" or "2" etc and works but doesnt seem to work in exhibit

An example of it working on timeline is here
http://simile-widgets.googlecode.com/svn/timeline/trunk/src/webapp/examples/test_example3/test_example3.html

here is part of the code for ref

{ "start": "2009-03-10T06:00:00+00:00",
"end": "2009-03-31T22:00:00+00:00",
"instant": false,
"title": "1",
"color": "#7FFFD4",
"textColor": "#000000",
"caption": "1",
"trackNum": 1,
"classname": "special_event2 aquamarine",
"description": "bar 1"},

                         {"start": "2009-03-10T08:00:00+00:00",
                            "end": "2009-03-17T20:00:00+00:00",
                        "instant": false,
                          "title": "1.1",
                          "color": "#7FFFD4",
                      "textColor": "#000000",
                       "trackNum": 2,
                    "description": "bar 1.1"},

                         {"start": "2009-03-12T10:00:00+00:00",
                            "end": "2009-03-13T17:00:00+00:00",
                        "instant": false,
                          "title": "1.1.1",
                          "color": "#7FFFD4",
                      "textColor": "#000000",
                       "trackNum": 3,
                    "description": "bar 1.1.1"},

Your help is greatly appreciated.

Many thanks
JAmes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants