File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
public/app/features/panel Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 12
12
* ** Graph Panel** : Fixed issue with axis labels overlapping Y-axis, fixes [ #4626 ] ( https://github.com/grafana/grafana/issues/4626 )
13
13
* ** InfluxDB** : Fixed issue with templating query containing template variable, fixes [ #4602 ] ( https://github.com/grafana/grafana/issues/4602 )
14
14
* ** Graph Panel** : Fixed issue with hiding series and stacking, fixes [ #4557 ] ( https://github.com/grafana/grafana/issues/4557 )
15
+ * ** Mixed Datasources** : Fixed issue with mixing many datasources in same graph, fixes [ #4604 ] ( https://github.com/grafana/grafana/issues/4604 )
15
16
16
17
# 3.0.0-beta2 (2016-04-04)
17
18
Original file line number Diff line number Diff line change @@ -252,8 +252,12 @@ class MetricsPanelCtrl extends PanelCtrl {
252
252
}
253
253
254
254
addDataQuery ( datasource ) {
255
- var target = {
256
- } ;
255
+ var target : any = { } ;
256
+
257
+ if ( datasource ) {
258
+ target . datasource = datasource . name ;
259
+ }
260
+
257
261
this . panel . targets . push ( target ) ;
258
262
}
259
263
}
You can’t perform that action at this time.
0 commit comments