-
Notifications
You must be signed in to change notification settings - Fork 309
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
Linear regression fails on Date format #39
Comments
@dvago |
no, unfortunately, it still an issue |
您好,这里是周敏。您的来信我已收到,我会在查看后的第一时间给你回复。
|
i solved the problem. can be closed I really would like to fix something .. if I pass the datetime, it looks great. but if I pass only the date, I get the time - 00:00:00. I would like to remove it in this case. Any ideas? |
I solved my problem through axisPointer -> Formatter. |
Hi there,
I'm currently looking into an implementation of the default available regressions, it seems like the chart does not draw regression models (just the Linear function) when the input data (source) is containing either a Date object or a timestamp.
Given a source input as
dataset
with the following structure:When I push into the
dataset
a newtransform
with the type asecStat:regression
and method aslinear
no line gets drawn.note:
The same behaviour happens when the Date object gets converted into a timestamp using the standard Date
getTime()
method.note 2:
Regression models like
exponential
,logarithmic
andpolynomial
draw perfectly fine using both Date object or timestamp, so I believe there must be something wrong within the linear function.The text was updated successfully, but these errors were encountered: