• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

creating a "squared" line chart !!!

SSH

New Member
I want to create a chart of average daily voltage, but using the line chart creates a sawtooth shape - see first chart below and in attached file.

upload_2015-12-11_12-23-29.png

"Smoothing" takes away the 'jaggedness' out of the line, but I really want the line 'squared'. Something like the upper outline of the following column chart - but without the fill (and without the outlines of the columns if I choose 'no fill').

upload_2015-12-11_12-24-47.png

Thanks for any help!
Cheers,
SSH
 

Attachments

  • a squared line chart.xlsx
    30.5 KB · Views: 12
Hi:

I am not sure what you are looking for. Does the attached do what you want.

Thanks
 

Attachments

  • a squared line chart.xlsx
    30.6 KB · Views: 10
Nebu, thanks for your response, but no, not quite.
I want a "line chart" that is square !
Here's another shot along the lines you suggested using a flat-line as the "marker". So, each data point is flat, but where the lines connecting data points go from and to the edge of the flat-line marker. (In the figure below, the line connects from and to the midpoint of the marker. A square line chart is like a "square wave" but one where the amplitude ("peaks" and "troughs") varies (i.e., other than just 1 and -1).

upload_2015-12-11_14-22-32.png
 
Like this ?
View attachment 24989

See attached file:
Hui,

YES! Thanks heaps! I can see that the chart type you have used is a scatter plot with straight lines. But there seems to be something more because when I change to that chart type, I don't get the square wave! Is there something else I need to choose/do?

Cheers,
Stephen
 
Its a scatter chart
Yes it uses a second series to replicate each point, adding a day to each point so that each data point is plotted as 2 days (the actual date and the day after)
 
Back
Top