Last active
July 10, 2017 15:30
-
-
Save hatemalimam/4877bcef2fbcffa7a6f5e5f6796b8f52 to your computer and use it in GitHub Desktop.
ChartistJSF plugins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ct:chart id="lineChart" type="line" model="#{chartDataBean.pluginsModel}" plugins="myPlugins" | |
styleClass="example-plugin-threshold"> | |
</ct:chart> | |
<script> | |
//plugins array | |
var myPlugins = | |
[ | |
Chartist.plugins.ctThreshold({ | |
threshold: 4 | |
}) | |
]; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment