It's not the server-side data collection that has me stumped...it's getting Timeplot to refresh it's "view" of the data. So far the only thing that worked was turning off the browser cache but I need to be able to control the cache everywhere...not just on my development box.
On Aug 27, 12:58 pm, mleden <[email protected]> wrote: > Hi, > > I'm not sure that this is exactly what you're looking for, but I have > gotten Exhibit to use PHP-delivered data. I am using this PHP- > delivered data to render, amongst other things, a Timeplot. The "ah- > ha" moment for me was realizing that instead of this: > <link href="../data/ce-re.json" type="application/json" rel="exhibit/ > data" /> > I can use this: > <link href="../php/ce-re_json_generator.php" type="application/ > json" rel="exhibit/data" /> > > As you can probably guess, the php script generates well-formed, on- > the-fly JSON (in my case via queries against a MySQL database). > > HTH, > -Mark > > On Aug 27, 9:18 am, contemplative <[email protected]> wrote: > > > I too am trying to figure out how to dynamically deliver the plot data > > to the timeplot. > > The examples I have seen all point to a static file for the plot > > data. What mechanism > > can be used to deliver that data from a server side script? Can the > > plot data be delivered > > via xml just like the timeline data? > > > An live example would be greatly appreciated.. > > Thanks in advance, > > wjw > > > On Aug 26, 8:13 am, qtrimble <[email protected]> wrote: > > > > Where you ever able to solve your problem? I'm doing something > > > similar by the way you described your situation. I'm trying to use > > > Ajax approach. Here is a link for my > > > project:https://bcmw.coastal.edu/testing/timeplot/params_testing7.php > > > > On Aug 21, 3:45 am, Sarawut Ninsawat <[email protected]> wrote: > > > > > Hi all, > > > > > I try to make timeplot for dynamic data which be generated from php > > > > code. > > > > > I can able to change data source by > > > > > eventSource1.clear(timeplot1); > > > > timeplot1.update(); <-- update datasource > > > > timeplot1.repaint(); <--to remove all point and geometry but I found > > > > that Timegeomtry label is not removed. > > > > > then I do > > > > > timeplot1.loadText(url.....,",", eventSource1); > > > > timeplot1.update(); <-- to update data > > > > timeplot1.repaint(); <-- to repaint value and time axis > > > > > The plot is drew but I found there are both of old time label and new > > > > time label. > > > > However not all old time label is shown. For example first it is start > > > > from Jan 2005 to Dec 2005 then it show only April 2005 to Dec 2005. > > > > Also my new plot is starting at middle of plot (not Lower Left of plot). > > > > > I think there is some problem from TimeGeometry. Please advise for > > > > correct step if we want to update datasource of timeplot > > > > > Best regards > > > > > Sarawut --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
