In Part 1, you learned how to post a graph in the discussion section. In this How-to, you will learn how to customize the graph by adding and editing specific settings called parameters. A comprehensive list of parameters are presented in Part 3 of this How-To series. It is assumed that you have already read part one of the series How-To: Post A Graph in The Discussion Forum (part 1 of 3)
How to Use Parameters
Parameter settings are inserted into the bracketed single_case_graph syntax token as shown below:
Data Series A: 12, 15, 15 label(Baseline)| 17, 13, 15, 18, 22, 19 label(Treatment);
Data Series B: 8, 6, 6 | 8, 6, 12, 10, 8, 10;
[/single_case_graph]]
In the example above there are three parameters: yAxislabel
, yAxisMin
and yAxisMax
. Text enclosed within the quotes following yAxisLabel
(i.e.,”Cookies”) will be used as the title of the vertical axis. yAxisMin
and yAxisMax
set the range of the vertical axis, resulting in the following graph.
Learning How to Read and Use Parameters
To provide a systematic way to describe each parameter and its acceptable values, each one will be presented in a standard format containing the name of the parameter, acceptable and default values, a description of the parameter’s function, and a working example.
The y-Axis Parameters
yAxisLabel
Accepted values:
“Anything in quotes*”
(* except more quotes)Default value:
“Value”
Description: Sets the value of the y-axis label.
Example: yAxisLabel="Number Correct"
yAxisMin
Accepted values:
any integer or decimal
(must be less than the value specified by the yAxisMax parameter)Default value:
NA
Description: Set the minimum value for the y-axis. Note, if you do not specify this parameter then the graph will default to the auto range calculated value for the minimum y.
Example: yAxisMin=0.5
yAxisMax
Accepted values:
any integer or decimal
(must be greater than the value specified by the yAxisMin parameter)Default value:
NA
Description: Set the maximum value for the y-axis. Note, if you do not specify this parameter then the graph will default to the auto range calculated value for the maximum y.
Example: yAxisMax=10.5
Summary
In this How-To you have learned the formatting conventions for adding and editing parameters for making graphs in the Discussion Board. The next How-To of this series, How-to: Post A Graph In the Discussion Forum (Part 3 of 3), will contain a complete listing of the parameters available to you for customizing your Discussion Board graph.