Last active
February 17, 2017 13:20
-
-
Save ponsuke0531/916215ccfefa4628ad4ebeac40e6fc6e to your computer and use it in GitHub Desktop.
Highcharts : Y軸目盛の表示がくっついた時の改善案 ref: http://qiita.com/ponsuke0531/items/b128af70aac7e221c7c1
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Highchartsの練習</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
<script src="http://code.highcharts.com/highcharts.js"></script> | |
<script type="text/javascript" src="js/myHighcharts.js"></script> | |
</head> | |
<body> | |
<div id="barChart" style="width:80%; height:30%;"></div> | |
</body> | |
</html> |
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
これより上は「問題の状態」と同じ | |
function getBarChartOptions(seriesData) { | |
var yAxisTickInterval = 0.5; | |
var yAxisRotation = 75; | |
var barChartOptions = { | |
chart: { | |
これより下は「問題の状態」と同じ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment