A dynamic graph does not show all x-axis names

haraslub

New Member
Joined
Mar 23, 2020
Messages
1
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Hello everyone,

I would kindly like to ask you for a help. I would like to create a dynamic graph. Once I do that, all data is in, but all x-axis names/labels do not appear. Anyone, who could help me, please?

Thank you very much in advance!

Regards
Luboš H.

1584982402386.png
 

Attachments

  • TestData.PNG
    TestData.PNG
    56.3 KB · Views: 3
  • TestData.PNG
    TestData.PNG
    56.3 KB · Views: 5

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
To define a dynamic range for both ChartDates and ChartValues, try...

VBA Code:
=OFFSET(Sheet1!$A$2;0;0;COUNTA(Sheet1!$A:$A)-1;1)

and

VBA Code:
=OFFSET(Sheet1!$B$2;0;0;COUNTA(Sheet1!$B:$B)-1;1)

Hope this helps!
 
Upvote 0

Forum statistics

Threads
1,215,455
Messages
6,124,938
Members
449,197
Latest member
k_bs

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top