wijmo.chart.wijbarchart 名前空間 > options タイプ : axis フィールド |
チャートの X 軸と Y 軸を作成するためのすべての情報を含むオブジェクト。
型: wijmo.chart.chart_axes オブジェクト
デフォルト値:
x:{ alignment: "center", style: {stroke: "#999999", "stroke-width": 0.5}, visible: true, textVisible: true, text: "", textStyle: {fill: "#888", "font-size": 15, "font-weight": "bold"}, labels: { style: {fill: "#333", "font-size": 11}, textAlign: "near", width: null }, compass: "south", autoMin: true, autoMax: true, min: null, max: null, origin: null, autoMajor: true, autoMinor: true, unitMajor: null, unitMinor: null, gridMajor: { visible: false, style: {stroke: "#CACACA", "stroke-dasharray": "- "} }, gridMinor: { visible: false, style: {stroke: "#CACACA", "stroke-dasharray": "- "} }, tickMajor: { position: "none", style: {fill: "black"}, factor: 1 }, tickMinor: { position: "none", style: {fill: "black"}, factor:1 }, annoMethod: "values", valueLabels:[] }, y:{ alignment: "center", style: {stroke: "#999999", "stroke-width": 0.5}, visible: false, textVisible: true, textStyle: {fill: "#888", "font-size": 15, "font-weight": "bold"}, labels: { style: {fill: "#333", "font-size": 11}, textAlign: "center", width: null }, compass: "west", autoMin: true, autoMax: true, autoMajor: true, autoMinor: true, gridMajor: { visible: true, style: { stroke: "#999999", "stroke-width": "0.5", " stroke-dasharray": "none" } }, gridMinor: { visible: false, style: {stroke: "#CACACA", "stroke-dasharray": "- "} }, tickMajor: { position: "none", style: {fill: "black"}, factor: 1 }, tickMinor: { position: "none", style: {fill: "black"}, factor:1 }, annoMethod: "values", valueLabels:[] }
Javascript (Usage) | |
---|---|
$(function () { //値を取得する var returnsValue; //タイプ: wijmo.chart.chart_axes returnsValue = $(".selector").wijbarchart("option", "axis"); //値を設定します var newValue; //タイプ: wijmo.chart.chart_axes $(".selector").wijbarchart("option", "axis", newValue); }); |
Javascript (Specification) | |
---|---|
var axis : chart_axes; |