This function creates a scatter graph with a line between two connecting points overlaid onto an image using cartesian variables including custom colours, line sizes, and legend. It is a very visually effective way to present your cartesian 'from and to' data on a map such as passes or shots. Similar to the scatter plot, it is best to use the same image you use in your Angles markup. A legend or key is added by default but just set this to 'false' if it is not needed.
Basic format: "content_name": ["create_vector_plot",
["var_array1", "var_array2", ...],
"location_id",
"background_image_path",
"width",
"height",
["colour1", "colour2", ...],
"line_size",
"legend"
]
e.g: "vector_plot": ["create_vector_plot", ["Shot_line_data"], "#C4", "", 350, 250, ["red"], 2]