Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"visual" : [
{
"id" : "overview",
"name" : "Overview",
"options" : [
{
"id" : "title",
"name" : "Title",
"datatype" : "string"
},
{
"id" : "subtitle",
"name" : "Subtitle",
"datatype" : "string"
},
{
"id" : "footnote",
"name" : "Footnote",
"datatype" : "string"
}
]
},
{
"id" : "documentation",
"name" : "Documentation",
"options" : [
{
"id" : "description",
"name" : "Description",
"datatype" : "html"
},
{
"id" : "help",
"name" : "Help",
"datatype" : "html"
},
{
"id" : "notes",
"name" : "Notes",
"datatype" : "html"
}
]
},
{
"id" : "dimensions",
"name" : "Dimensions",
"options" : [
{
"id" : "ratio",
"name" : "Ratio",
"datatype" : "number"
},
{
"id" : "size",
"name" : "Size",
"datatype" : "number"
},
{
"id" : "width",
"name" : "Width",
"datatype" : "percentage"
}
]
},
{
"id" : "alignments",
"name" : "Alignments",
"options" : [
{
"id" : "horizontalAlign",
"name" : "Horizontal Alignment",
"datatype" : "category",
"options" : {
"categories" : [
{ "id": "left", "name": "Left" },
{ "id": "center", "name": "Center" },
{ "id": "right", "name": "Right" }
]
}
},
{
"id" : "verticalAlign",
"name" : "Vertical Alignment",
"datatype" : "category",
"options" : {
"categories" : [
{ "id": "top", "name": "Top" },
{ "id": "middle", "name": "Middle" },
{ "id": "bottom", "name": "Bottom" }
]
}
},
{
"id" : "padding",
"name" : "Padding",
"datatype" : "string"
},
{
"id" : "horizontalOffset",
"name" : "Horizontal Offset",
"datatype" : "number"
},
{
"id" : "verticalOffset",
"name" : "Vertical Offset",
"datatype" : "number"
}
]
}
],
"axis" : [
{
"id" : "overview",
"name" : "Overview",
"options" : [
{
"id" : "displayAxis",
"name" : "Display Axis",
"datatype" : "boolean",
"default" : false
},
{
"id" : "title",
"name" : "Title",
"datatype" : "string"
},
{
"id" : "displayTitle",
"name" : "Display Title",
"datatype" : "boolean",
"default" : false
},
{
"id" : "titleOffset",
"name" : "Title Offset",
"datatype" : "number"
},
{
"id" : "orientation",
"name" : "Orientation",
"datatype" : "category",
"options" : {
"categories" : [
{ "id": "top", "name": "Top" },
{ "id": "bottom", "name": "Bottom" },
{ "id": "left", "name": "Left" },
{ "id": "right", "name": "Right" }
]
}
},
{
"id" : "layer",
"name" : "Layer",
"datatype" : "category",
"options" : {
"categories" : [
{ "id": "front", "name": "Front" },
{ "id": "back", "name": "Back" }
]
}
},
{
"id" : "displayGrid",
"name" : "Display Grid",
"datatype" : "boolean",
"default" : false
}
]
},
{
"id" : "values",
"name" : "Values",
"options" : [
{
"id" : "displayValues",
"name" : "Display Values",
"datatype" : "boolean",
"default" : true
},
{
"id" : "format",
"name" : "Format",
"datatype" : "string"
},
{
"id" : "values",
"name" : "Values",
"datatype" : "json"
}
]
},
{
"id" : "ticks",
"name" : "Ticks",
"options" : [
{
"id" : "displayTicks",
"name" : "Display Ticks",
"datatype" : "boolean",
"default" : true
},
{
"id" : "tickNumber",
"name" : "Number of Ticks",
"datatype" : "integer"
},
{
"id" : "tickPadding",
"name" : "Tick Padding",
"datatype" : "number"
},
{
"id" : "tickSize",
"name" : "Tick Size",
"datatype" : "number"
},
{
"id" : "tickSizeMajor",
"name" : "Tick Size Major",
"datatype" : "number"
},
{
"id" : "tickSizeMinor",
"name" : "Tick Size Minor",
"datatype" : "number"
},
{
"id" : "tickSizeEnd",
"name" : "Tick Size End",
"datatype" : "number"
}
]
}
],
"scale" : [
{
"id" : "legend",
"name" : "Legend",
"options" : [
{
"id" : "legendTitle",
"name" : "Legend Title",
"datatype" : "string"
},
{
"id" : "displayLegend",
"name" : "Display Legend",
"datatype" : "boolean",
"default" : true
}
]
},
{
"id" : "domain",
"name" : "Domain",
"options" : [
{
"id" : "domain",
"name" : "Domain",
"datatype" : "json"
},
{
"id" : "domainMin",
"name" : "Domain Minimum",
"datatype" : "number"
},
{
"id" : "domainMax",
"name" : "Domain Maximum",
"datatype" : "number"
}
]
},
{
"id" : "range",
"name" : "Range",
"options" : [
{
"id" : "range",
"name" : "Range",
"datatype" : "json"
},
{
"id" : "rangeMin",
"name" : "Range Minimum",
"datatype" : "number"
},
{
"id" : "rangeMax",
"name" : "Range Maximum",
"datatype" : "number"
}
]
},
{
"id" : "display",
"name" : "Display",
"options" : [
{
"id" : "reverse",
"name" : "Reverse",
"datatype" : "boolean",
"default" : false
},
{
"id" : "round",
"name" : "Round",
"datatype" : "boolean",
"default" : false
},
{
"id" : "sort",
"name" : "Sort",
"datatype" : "boolean",
"default" : false
},
{
"id" : "clamp",
"name" : "Clamp",
"datatype" : "boolean",
"default" : false
},
{
"id" : "zero",
"name" : "Zero",
"datatype" : "boolean",
"default" : false
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.