Thanks for the response. Is there no quick functionality to send in a standard deviation value with a dataset and the graph auto calculates the curve based on the dataset and deviation value(see example below of what i am referring to)? Then you would have a chart with the scatter plot points and curve. If not, can you provide an example of how to do this with two separate datasets? I would think you would have to have the scatter and standard deviation datasets linked in some way to allow for the datasets to be turned on and off by clicking the label in the scatter plot legend.
Example:
“data”: [
{
“type”: “scatter”,
“markerType”: “circle”,
“legendText”: “My Dataset 1”,
“showInLegend”: “true”,
“standardDeviation”: [value],
“dataPoints”: [
{ “x”: 1, “y”: 0 },
{ “x”: 1, “y”: 2 },
{ “x”: 2, “y”: 2 },
{ “x”: 3, “y”: 5 },
{ “x”: 4, “y”: 4 },
{ “x”: 4, “y”: 7 },
{ “x”: 5, “y”: 8 },
{ “x”: 7, “y”: 10 },
{ “x”: 9, “y”: 12 }
]
},
{
“type”: “scatter”,
“markerType”: “circle”,
“legendText”: “My Dataset 2”,
“showInLegend”: “true”,
“standardDeviation”: [value],
“dataPoints”: [
{ “x”: 3, “y”: 6 },
{ “x”: 6, “y”: 2 },
{ “x”: 5, “y”: 4 },
{ “x”: 4, “y”: 5 },
{ “x”: 4, “y”: 8 },
{ “x”: 4, “y”: 7 },
{ “x”: 5, “y”: 9 },
{ “x”: 8, “y”: 3 },
{ “x”: 10, “y”: 11 }
]
}
]