Plot only visible cells

Refer to the following example code to see how to plot visible cells in plot area of a chart.