ChartMaker for LiveCode
by www.FlexibleLearning.com
ChartMaker can display Line Chart x-axis category labels as 'numeric' or 'non-numeric' using XisNumeric. If XisNumeric is false
the grid alignment can be set using XgridAlign. This shows how you can use different combinations to display the output you need.
XisNumeric | |
XisNumeric=false |
Category labels are shown exactly as you specify them. They are treated as text and can be words, numbers or any combination...![]() ![]() To show a zero start, specify '0' as the first Category with a null (empty or -0) first Value... ![]() All the above apply 'XgridAlign=true' so the labels and chart points line up on the vertical grid. If we choose 'XgridAlign=false', the labels and chart points will align between the vertical grid lines like this... ![]() ![]() Whether the alignment is on or between the vertical grid lines is your choice. The default is 'false' i.e. between the gid lines. |
XisNumeric=true |
Category labels are shown as the numeric count of the category. XgridAlign is automatically implemented. Any Category text is ignored and may even be omitted...![]() ![]() i.e. there no difference whatever the choice of Category labels or whether XgridAlign is true or false. Using XisNumeric=true is primarily of use when the data is to be presented with an automatic numeric sequence on the x-axis, such as in formula charts.
|
Can ChartMaker extrapolate categories? | No. ChartMaker only displays the data you supply. If you only have data for the 1st, 10th, 50th and 100th category the chart will display them equally spaced along the x-axis. XisNumeric=false, XgridAlign=true... ![]() XisNumeric=false, XgridAlign=false... ![]() To display all categories 1-100, fill in the missing values with nulls... ![]() |
ChartMaker for LiveCode is Copyright © 2012 The Flexible Learning Company. All rights reserved.