-
Notifications
You must be signed in to change notification settings - Fork 142
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
Trendlines with ColumnChart doesn't work. #333
Comments
did you mean?
|
actually.... I hacked together your example and it seems that maybe the serialization of the options is losing the In: [
'title' => $title,
'height' => 500,
'chartArea' => [
'top' => 35,
'bottom' => 100,
'height' => '100%',
],
'vAxis' => [
'format' => '0'
],
'titlePosition' => 'none',
'legend' => [
'position' => 'bottom'
],
'trendlines' => [
0 => [
'type' => 'exponential',
'color' => 'green',
'pointsVisible' => true,
'pointSize' => 3,
'lineWidth' => 10
]
]
] Out: {
"title": "Title!",
"height": 500,
"chartArea": {
"top": 35,
"bottom": 100,
"height": "100%"
},
"vAxis": {
"format": "0"
},
"titlePosition": "none",
"legend": {
"position": "bottom"
},
"trendlines": [
{
"type": "exponential",
"color": "green",
"pointsVisible": true,
"pointSize": 3,
"lineWidth": 10
}
]
} |
kevinkhill
changed the title
Trendlines with ColumnChart doens't work.
Trendlines with ColumnChart doesn't work.
Aug 21, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What Version?
3.1
Issue
Trendlines with ColumnChart doens't work.
Controller Code (chart creation code)
View Code
The text was updated successfully, but these errors were encountered: