Share via

Graph Smoothed Line for all series automatically

Anonymous
2015-06-05T13:17:48+00:00

I know the data purists hate smoothed lines on an Excel chart, however...

I have a pivot chart (obviously connected to a pivot table) and am using a slicer to change the content. But... When selecting multiple values via my slicer, not all series in the chart are set to a smoothed line.

I have had all series (13 in total) on the chart and manually set them all to smoothed lines. When I select say 5 slicer values, all 5 series are no longer smoothed lines.

How can I enforce that regardless of how many series or what combination are selected that they are always displayed as a smoothed line?

Hope that makes sense!

I'm not great with VBA so if there is a non-VBA way around this, I would be grateful!

Cheers

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2015-06-08T14:25:56+00:00

Then, while I didn't have that experience, I would suggest creating a graph with as many series as you might have and formatting them all to smoothed line.  Then save that as a template.

--

Regards,

Tom Ogilvy

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

6 additional answers

Sort by: Most helpful
  1. Anonymous
    2016-04-01T13:34:39+00:00

    Hello,

    I had the same problem and your reply helped me, thank you. But I had to smooth so many lines so I found a way to edit the template directly. Attached is a picture describing how to.

    Regards!

    Fred.

    Was this answer helpful?

    8 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2015-06-05T15:13:57+00:00

    When you create your graph/chart it is created with a default format.  Every series you add has that default format.

    When you  change the graph/chart type, then the series are changed as well (if you do it for the whole graph/chart).

    So creating a template creates a new set of defaults.  

    That would be the point of a template.


    So just to be sure I wasn't steering you wrong, I greated a simple scatter plot (one series) and changed it to smoothed line and then saved it as a chart template.  I then deleted the chart and created a new one and chose my custom template and the series was displayed as smoothed.  I added more data to the chart and each new series showed as smoothed.    I created the template as using a normal chart.   So it appeared to work as I assumed it would. 

     I think the concept is sound and it is simple enough to create that you would not lose much time in trying it.  If it works, it should solve you problem.

    > I'm presuming that the template takes it's defaults from the existing graph that the template is created from.

    I think not.  I think the defaults are changed where different from the original template.

    --

    Regards,

    Tom Ogilvy

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2015-06-05T14:24:43+00:00

    Thanks Tom.

    I don't think however this would work as how would the template know that I want all series as a smoothed line? I'm presuming that the template takes it's defaults from the existing graph that the template is created from. As I can't get it to work in the existing graph, I don't see how the template would pick up this additional knowledge.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2015-06-05T13:56:17+00:00

    AndyTheAnimal,

    What about creating a chart template with your custom set up and then change your pivot table chart type to your custom template:

    1.

    Click the chart that you want to save as a template.

    2.

    On the Design tab, in the Type group, click Save as Template.

    3.

    In the File name box, type a name for the template.

    Tip    Unless you specify a different folder, the template file (.crtx) will be saved in the Charts folder, and the template becomes available under Templates in both the Insert Chart dialog box (Insert tab, Charts group, Dialog Box Launcher ) and the Change Chart Type dialog box (Design tab, Type group, Change Chart Type).

    Note    A chart template contains chart formatting and stores the colors that are in use when you save the chart as a template. When you use a chart template to create a chart in another workbook, the new chart uses the colors of the chart template — not the colors of the document theme that is currently applied to the workbook. To use the document theme colors instead of the chart template colors, right-click the chart area, and then click Reset to Match Style.

    Was this answer helpful?

    0 comments No comments