Wijmo UI for the Web
chart_axis_tick Interface
wijmo.chart Namespace : chart_axis_tick Interface

Creates an object with all of the settings to use in drawing tick marks that appear next to the numeric labels for major values along the X or Y axis. By default, these marks are not shown. To show them, set the position option. See Show Tick Marks for more information.

Default: {position: "none", style: {fill: "black"}, factor: 1}

Type: Object

Example
<script type="text/javascript">
$(document).ready(function () {
    $("#wijbubblechart").wijbubblechart({
        axis: {
            y: {text: "Number of Products"},
            x: {
                text: "Sales", 
                annoFormatString: "C0", 
                tickMajor: {position: "cross", style: {stroke: "blue"}},
                tickMinor: {position: "inside", style: {stroke: "limegreen"}}
                }
        },
        legend: {visible: false},
        seriesList: [
        {
            label: "Company A Market Share",
            data: { y: [14], x: [12200], y1: [.15] }
        }, {
            label: "Company B Market Share",
            data: { y: [20], x: [60000], y1: [.23] }
        }, {
            label: "Company C Market Share",
            data: { y: [18], x: [24400], y1: [.1] }
        }]
    });
});
</script>
Fields
 NameDescription
 Field
A value that indicates how long to draw the major or minor tick marks as a factor of the base length of tick marks, which is 6 pixels. For example:
  • A factor of 0.5 renders tick marks 3 pixels long.
  • A factor of 1 renders tick marks 6 pixels long.
  • A factor of 1.5 renders tick marks 9 pixels long.
  • A factor of 2 renders tick marks 12 pixels long.
Default: 1
Type: Number
 
 Field
A value that indicates the position of the major or minor tick mark in relation to the axis.
Default: "none"
Type: String
 
 Field
A value that indicates the style to use in rendering major tick marks. For more information on the available style parameters, see the Style Options topic.
Default: {fill: "black"}
Type: Object
 
Top
See Also

Reference

wijmo.chart Namespace