|
|
Line 70: |
Line 70: |
| } | | } |
| var newopts = { | | var newopts = { |
| | yAxisLabel : "Percent Correct", |
|
| |
|
| inGraphDataShow : true,
| | yAxisFontFamily : "'Arial'", |
|
| |
|
| datasetFill : true,
| | yAxisFontSize : 16, |
|
| |
|
| scaleLabel: "<%=value%>",
| | yAxisFontStyle : "normal", |
|
| |
|
| scaleTickSizeRight : 5,
| | yAxisFontColor : "#666", |
| | |
| scaleTickSizeLeft : 5,
| |
| | |
| scaleTickSizeBottom : 5,
| |
| | |
| scaleTickSizeTop : 5,
| |
| | |
| scaleFontSize : 16,
| |
| | |
| canvasBorders : true,
| |
| | |
| canvasBordersWidth : 3,
| |
| | |
| canvasBordersColor : "black",
| |
| | |
| graphTitle : "Graph Title",
| |
| | |
| graphTitleFontFamily : "'Arial'",
| |
| | |
| graphTitleFontSize : 24,
| |
| | |
| graphTitleFontStyle : "bold",
| |
| | |
| graphTitleFontColor : "#666",
| |
| | |
| graphSubTitle : "Graph Sub Title",
| |
| | |
| graphSubTitleFontFamily : "'Arial'",
| |
| | |
| graphSubTitleFontSize : 18,
| |
| | |
| graphSubTitleFontStyle : "normal",
| |
| | |
| graphSubTitleFontColor : "#666",
| |
| | |
| footNote : "Footnote for the graph",
| |
| | |
| footNoteFontFamily : "'Arial'",
| |
| | |
| footNoteFontSize : 8,
| |
| | |
| footNoteFontStyle : "bold",
| |
| | |
| footNoteFontColor : "#666",
| |
|
| |
|
| legend : true, | | legend : true, |
Line 127: |
Line 84: |
| legendFontFamily : "'Arial'", | | legendFontFamily : "'Arial'", |
|
| |
|
| legendFontSize : 12, | | legendFontSize : 18, |
|
| |
|
| legendFontStyle : "normal", | | legendFontStyle : "normal", |
Line 133: |
Line 90: |
| legendFontColor : "#666", | | legendFontColor : "#666", |
|
| |
|
| legendBlockSize : 15, | | legendBlockSize : 30, |
|
| |
|
| legendBorders : true, | | legendBorders : true, |
|
| |
|
| legendBordersWidth : 1, | | legendBordersWidth : 30, |
|
| |
|
| legendBordersColors : "#666",
| | legendBordersColor : "#666" |
| | } |
|
| |
|
| yAxisLeft : true,
| |
|
| |
| yAxisRight : false,
| |
|
| |
| xAxisBottom : true,
| |
|
| |
| xAxisTop : false,
| |
|
| |
| yAxisLabel : "Y Axis Label",
| |
|
| |
| yAxisFontFamily : "'Arial'",
| |
|
| |
| yAxisFontSize : 16,
| |
|
| |
| yAxisFontStyle : "normal",
| |
|
| |
| yAxisFontColor : "#666",
| |
|
| |
| xAxisLabel : "pX Axis Label",
| |
|
| |
| xAxisFontFamily : "'Arial'",
| |
|
| |
| xAxisFontSize : 16,
| |
|
| |
| xAxisFontStyle : "normal",
| |
|
| |
| xAxisFontColor : "#666",
| |
|
| |
| yAxisUnit : "Y Unit",
| |
|
| |
| yAxisUnitFontFamily : "'Arial'",
| |
|
| |
| yAxisUnitFontSize : 8,
| |
|
| |
| yAxisUnitFontStyle : "normal",
| |
|
| |
| yAxisUnitFontColor : "#666",
| |
|
| |
| annotateDisplay : true,
| |
|
| |
| spaceTop : 0,
| |
|
| |
| spaceBottom : 0,
| |
|
| |
| spaceLeft : 0,
| |
|
| |
| spaceRight : 0,
| |
|
| |
| logarithmic: false,
| |
|
| |
| // showYAxisMin : false,
| |
|
| |
| rotateLabels : "smart",
| |
|
| |
| xAxisSpaceOver : 0,
| |
|
| |
| xAxisSpaceUnder : 0,
| |
|
| |
| xAxisLabelSpaceAfter : 0,
| |
|
| |
| xAxisLabelSpaceBefore : 0,
| |
|
| |
| legendBordersSpaceBefore : 0,
| |
|
| |
| legendBordersSpaceAfter : 0,
| |
|
| |
| footNoteSpaceBefore : 0,
| |
|
| |
| footNoteSpaceAfter : 0,
| |
|
| |
| startAngle : 0
| |
|
| |
| // dynamicDisplay : true
| |
|
| |
| }
| |
| // get line chart canvas | | // get line chart canvas |
| var buyers = document.getElementById('buyers').getContext('2d'); | | var buyers = document.getElementById('buyers').getContext('2d'); |