+ Reply to Thread
Results 1 to 6 of 6

Linear x axis distribution in Pivot Chart

  1. #1
    Registered User
    Join Date
    02-27-2020
    Location
    France
    MS-Off Ver
    Latest Version
    Posts
    3

    Linear x axis distribution in Pivot Chart

    Hello !

    I'm trying since this morning to find a solution in order to have linear distribution on my x axis.
    The first value is at 40, then 122, 204, 280 ... 1554, 1625, 1746, 1922.
    As you can see, it's not linear, my goal is to put a fix step at 50 : 0, 50, 100, 150, 200...

    I saw solutions about creatin XY chart but it's not possible with pivot charts (and I need to stay with pivot chart).
    Thanks for the help.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Linear x axis distribution in Pivot Chart

    Would an XY scatter chart solve your problem? If so, you are correct that a pivot chart cannot be an XY scatter chart. The solution is to create a regular XY scatter chart without letting it become a pivot chart: https://peltiertech.com/regular-char...-pivot-tables/
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    02-27-2020
    Location
    France
    MS-Off Ver
    Latest Version
    Posts
    3

    Re: Linear x axis distribution in Pivot Chart

    Thank you for your answer MrShorty, indeed I found this solutions on google and it works.
    The problem is that I need to have automatic Excel document (my datas are from some Python scripts) and I really don't want to spend too much time trying to solve it using Python.
    That's why I would be very happy to find a solution with pivot chart ...

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Linear x axis distribution in Pivot Chart

    What is not automatic about your current procedure?

  5. #5
    Registered User
    Join Date
    02-27-2020
    Location
    France
    MS-Off Ver
    Latest Version
    Posts
    3

    Re: Linear x axis distribution in Pivot Chart

    If I create XY chart, it won't be a pivot chart and it means it won't be able to actualize the datas when I add datas in this Excel file.
    I want my scripts to add data, I open the Excel file, i press "actualise data" button and my graphics are ready and updated.
    (Maybe i'm wrong) but maybe it's not possible to do that with Excel ? (having a linear x axis with pivot chart).

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Linear x axis distribution in Pivot Chart

    I'm not sure why your scatter chart does not update when you refresh/actualise the data. You must be doing something different from what I would do, but I don't know what it is.

    Here's a file I created really quick. It uses random numbers in place of whatever your python script is showing. Because these numbers will change with each calculate event, you need only press "actualise data" to get the pivot table to update with the new values, and you should see the chart follow the pivot table. Perhaps this will help you see the detail you are doing, or allow you to describe the detail that you need to be different.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to put a linear line in pivot chart?
    By q988988 in forum Excel General
    Replies: 2
    Last Post: 07-14-2019, 09:24 PM
  2. [SOLVED] 100% stacked bar chart shows wrong distribution - axis not the issue
    By Anine in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 07-02-2018, 04:25 AM
  3. negative y axis on pivot chart but axis doesn't change
    By ammartino44 in forum Excel General
    Replies: 1
    Last Post: 06-24-2015, 02:19 PM
  4. Distribution chart midpoint at zero x-axis
    By Billabong0110 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-04-2012, 06:32 AM
  5. Excel 2007 : Pivot Line Chart Linear X-Axis
    By g00mbs in forum Excel General
    Replies: 3
    Last Post: 12-02-2011, 07:18 PM
  6. stock chart non-linear y-axis
    By Alseikhan in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-28-2006, 06:40 PM
  7. Replies: 0
    Last Post: 07-13-2005, 05:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1