Closed ElizabethAdams1 closed 7 years ago
Its just a matter of fiddling with the various inputs to the API: http://dev.markitondemand.com/MODApis/#doc_interactivechart. The inputs are collected and passed to the server in the getInputParams
method of InteractiveChartApi. On initial page load of the demo, the inputs that are passed are:
{
"Normalized": false,
"NumberOfDays": 3650,
"DataPeriod": "Day",
"Elements": [
{ "Symbol": "AAPL", "Type": "price", "Params": ["ohlc"] },
{ "Symbol": "AAPL", "Type": "volume" }
]
}
I would like to change the intervals for the zoom to be 1 day (a point every hour), 1 week (every hour), and a month (ever day). However, looking at the demo and the purl.js, I can't seem to be able to see where that would be feasible. Could you direct me in how to do this?