-
-
Save ponsuke0531/90e066cbe2bb167111777bf150224db4 to your computer and use it in GitHub Desktop.
jqPlotでつくった折れ線グラグにおいてY軸の特定値に引いた横線に色を付ける方法 ref: http://qiita.com/ponsuke0531/items/c4bd2cee602b7a0d07fb
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
<!-- 省略:変更なし --> | |
<head> | |
<title>MyJqPlot</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqPlot/1.0.9/jquery.jqplot.min.js"></script> | |
<script type="text/javascript" src="js/myJqPlot.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqPlot/1.0.9/plugins/jqplot.canvasOverlay.min.js"></script> | |
<!-- 省略:変更なし --> |
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
// 省略:変更なし | |
var myHorizontalLine = { | |
horizontalLine: { | |
y: 80, | |
color: 'red', | |
lineWidth: 0.5, | |
shadow: false, | |
xOffset: 0 | |
} | |
}; | |
// 省略:変更なし |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment