Skip to content

Commit

Permalink
Added plugin for point labels
Browse files Browse the repository at this point in the history
  • Loading branch information
amelkikh committed Aug 11, 2016
1 parent 925a447 commit c6a67eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
2 changes: 2 additions & 0 deletions JqPlot.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,7 @@ public function registerRendererJsFile($renderer)
if (!in_array($url, Yii::$app->assetManager->bundles[JqPlotAsset::className()]->js)) {
Yii::$app->assetManager->bundles[JqPlotAsset::className()]->js[] = $url;
}

Yii::$app->assetManager->bundles[JqPlotAsset::className()]->js[] = 'plugins/jqplot.pointLabels.js';
}
}

0 comments on commit c6a67eb

Please sign in to comment.