I'm still struggling with this.
Here is what I need:
4 lines, each potted against datetime.
Each line will be in a different colour.
Each point on the line will be shown by a symbol representing an event.
The symbol will be either a circle or a square, depending on a 'type' propery of the event.
When the mouse hovers over an event symbol, a tooltip will show giving some information, such as:
22-Sep-18
Parish Eucharist
7 sopranos
The number (7 in this case) is the number whose value is plotted on the Y axis.
The cateogry (Sopranos in this case) depends on which line is clicked on (the 4 lines are Sopranos, Altos, Tenors, Basses).
So far I have created JSON data that you can see here http://sylvesterbradley.org/swchoir/dat ... event.json. I have not yet succeeded in getting this to plot in a stock chart.
Ideally I would like that when a point is clicked upon (not just hovered over) then an information box pops up giving the name and some other details of the 7 sopranos (in this exmaple).
Various questions arise:
1. What format does the JSON data need to be in to create this graph? How do I include the data for 4 lines into the JSON file?
2. How do I provide the information about the type of event (i.e. whether it needs to be shown with a circle or a square symbol)?
3. How do I provide the information for the tooltips, e.g the date, the name of the event etc.?
4. How do I get the format of the tooltip as I want it? What control do I have over this?
5. How do I provide the information for the popup box that appears when the user clicks on an event (i.e. the list of people etc.)
6. How do I get the X-axis labelled with the dates of the events?
7. How do I control whether the dates are used as the X-coordinate of the points, or whether the points are just evenly spaced on the X-axis? The latter might make it easier for users to select an individual event when there is more than one event on the same day.
I hope you can give me some advice on these issues.
Thanks - Rowan