ImportExcel icon indicating copy to clipboard operation
ImportExcel copied to clipboard

ImportExcel v7.8.5 (or any previous v7.x.x version) pie/bar charts randomly don't render when used with Powershell v7.4.0 Preview X

Open Zuldan opened this issue 2 years ago • 9 comments

The code I run works flawlessly with Powershell v5.1 but if I run the exact same code with v7.4.0 preview 4 (or any previous preview version), bar and pie charts "sometimes" don't render.

image

Zuldan avatar Jul 25 '23 07:07 Zuldan

pls post a simple repro of this.

dfinke avatar Jul 25 '23 13:07 dfinke

Thank you so much for the quick response Doug. I was worried you were going to ask that. I can post the code here but you won’t be able to run it on your machine because it reads data from hundreds of text files to generate the charts and graphs. Unfortunately the data is not for public consumption. Let me have a think about how I can do this.

Zuldan avatar Jul 27 '23 08:07 Zuldan

Understood. I don't need the data (yet), but I'd need a simple repro to debug through to see what the issue is.

dfinke avatar Jul 27 '23 22:07 dfinke

Here you go Doug, may the force be with you.

https://gist.github.com/Zuldan/77def5499cf430e9cd1274cae2c739de

Zuldan avatar Jul 28 '23 00:07 Zuldan

Sorry, I'd need a simple repro, that is not simple

dfinke avatar Jul 28 '23 16:07 dfinke

Apologies Doug, I read it as a “simple repository”. The first thing that came to mind was Gist.

The only way to reproduce it, is to use the data. I’ll see if I can strip out critical information from the data and and just provide get the portion of the code that doesn’t work. Please give me a little time.

Zuldan avatar Jul 29 '23 11:07 Zuldan

No rush. Happy to help. I can't go through that level of detail. Plus, it may not be an ImportExcel issue.

dfinke avatar Jul 29 '23 12:07 dfinke

@Zuldan Maybe you would like to try out right-click -> move chart -> new sheet. My blank charts will show not blank anymore then, might be related to #1395 as well since the Issuer mentioned "the charts actually display properly in the chart design preview ribbon" which is the case at my end as well.

Will create my own issue with repro scenario somewhere this week.

DeHuilendeHacker avatar Dec 19 '23 11:12 DeHuilendeHacker

Would like to see the latest repro. If 7.4 preview is an issue, I will wait till GA and gather details then.

dfinke avatar Dec 19 '23 23:12 dfinke