-
-
Save ponsuke0531/ccb60fbbe2b5a480afbff3a7046f6a85 to your computer and use it in GitHub Desktop.
jqPlotでつくった折れ線グラグのX軸を日付にする方法 ref: http://qiita.com/ponsuke0531/items/7610557b0042c45fb924
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
<!-- 省略:変更なし --> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqPlot/1.0.9/plugins/jqplot.canvasTextRenderer.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqPlot/1.0.9/plugins/jqplot.canvasAxisTickRenderer.min.js"></script> | |
<script type="text/javascript" src="js/myJqPlot.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 firstXaxis = { | |
renderer:$.jqplot.DateAxisRenderer, | |
rendererOptions: { | |
tickRenderer: $.jqplot.CanvasAxisTickRenderer | |
}, | |
tickOptions: { | |
formatString: '%F', | |
angle: -45 | |
} | |
}; | |
<!-- 省略:変更なし --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment