Charts and Graphs

All Charts start with tag [CHART_xxxx where xxxx is one of the following:

TYPE yyyyy
Signifies the start of building a chart, you cannot have two charts on the 'go' at the same time, you can however start a chart and spread it's creation over multiple questions.

There is no limit to the number of charts that can appear in any protocol, you must finish one chart before starting another.

yyyy - Type_of_Chart - presently the only supported Type at present is weight-basic for a basic weight or Lab result graph e.g. as per Existing Weight and Glucose.

TITLE Title
Adds 'Title' to the top of the Chart
SUBTITLE Title
Adds 'Title' as a Sub_Title at the bottom of the chart
DATA X Ana_Code Months
X Chart Type - W = Weight, L = Lab (if W is specified then Optimum weight will be included if available)
Ana_Code Analysis code to chart - (WGT will be Weight Ana Code)
Months Include data for the LAST xx Months (approx) (If not specified then include ALL data)
OPTIONS xyz
If there are any options to be added to the <img src=...> entry then specify them here.
DRAW xyz
Inserts the chart at this point in the protocol, this 'ends' the process and the current chart settings are reset ready for a new chart if needed. xyz are options to pvchart if needed.
E.g.
[Chart_type  weight_basic
[Chart_title  &animal's Weight 
[Chart_data W 229 3
[Chart_draw]