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: 5
  • TestData.PNG
    TestData.PNG
    56.3 KB · Views: 6

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
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,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

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