Howdy, I have a dataset recorded over time, resulting in a data array of [datetime, value]. This data should produce a smoothly-curving, 3rd-degree polynomial trendline.
When I plot this data using a LineChart, the trendline is a straight line. If I change the datetimes to a number, the trendline is the smoothly-curving line I expect: https://jsfiddle.net/ferrellian/vyozw7sk/ You can see this in the JSFiddle by setting *useNumbers = true* to plot with numbers on the x-axis, or *useNumbers = false* to plot with the dates. Additional notes: - I've tried setting the x-axis column data type to 'datetime', but that has no effect. - If I plot the datetime-indexed dataset using Microsoft Excel, I get the expected smoothly-curving trendline. - If I convert the dates to serial numbers (==large values, up in the 42,000s) and use those as the x-axis, the trendline remains a straight line. I have to chop the numbers down to a smaller value (~5-10) before Google Charts gives me a smooth-curve trendline. Am I doing something wrong here? Cheers, ian -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/d/optout.
