Complete the code to create a line chart from data in cells A1 to B5.
=SPARKLINE(A1:B5, {"charttype", [1])The SPARKLINE function with "charttype" set to "line" creates a line chart.
Complete the code to set the line width to 2 for the line chart.
=SPARKLINE(A1:B5, {"charttype", "line", "[1]", 2})The "linewidth" option sets the thickness of the line in the sparkline.
Fix the error in the formula to correctly set the line color to blue.
=SPARKLINE(A1:B5, {"charttype", "line", "color", [1])Colors must be given as text strings inside double quotes, like "blue".
Fill both blanks to create a line chart with a red line.
=SPARKLINE(A1:B5, {"charttype", [1], "color", [2])Use "line" for the chart type and "red" (in quotes) for the color.
Fill all three blanks to create a line chart with green color and line width of 3.
=SPARKLINE(A1:B5, {"charttype", [1], "color", [2], "linewidth", [3])Use "line" for chart type, "green" for color, and 3 for line width.
