Hi, I am using Aspose in Evaluation version( I am coding in C# ), and it seems that evaluation version creates a few more sheets when the program compiles. Other than this issue, is there any other issue that will influence the program directly? For example, some kind of failure or instability? I am trying to color the bubbles of the bubble chart, but even though I set the color of the bubbles with the same color, sometimes the bubble colors turn out to be different.(I mean, I have compiled the program multiple times, but the output results are different)
This Topic is created by Amjad_Sahi using the Email to Topic plugin.
Well, Aspose.Cells will keep adding evaluation watermark sheet if you save the workbook multiple times. When you use and set a valid license, the limitation would be removed and you would work in full capacity.
Other than this issue, is there any other issue that will influence the program directly? For example, some kind of failure or instability?
There is not any other significant limitation of failures in evaluation mode although you cannot open more than 100 files at a time.
I am trying to color the bubbles of the bubble chart, but even though I set the color of the bubbles with the same color, sometimes the bubble colors turn out to be different.(I mean, I have compiled the program multiple times, but the output results are different)
Could you provide us sample code (or preferably a sample console application (runnable), you may zip it prior attaching here) to show the issue with template files and complete details, we will check it soon.
is the line that is causing the trouble that I mentioned. In some compilation, the result gives me the desired color(pale green), but sometimes it gives some random greenish color. Please, if you find any bug, let me know. Thank you.
I am afraid to fix your issue precisely, we got to first reproduce it on our end. I might not compile your code segments as I am not sure about some objects (used) and its data. Also, I don’t have your template Excel file (if any) with source data. We appreciate if you could create a simple console application using v17.6.x (latest version), zip the project and post us here with the template file, we will check it soon.
By the way, I guess the issue might be due to your own code and logic, so you should debug your code thoroughly to try to figure it out.
OK, I am currently working on creating a sample package that will be runnable to you.(I can’t just give out the project that I am working on due to the security issue) Please keep me posted, and I will send you the package as soon as possible.
Yes, I am looking forward to get the sample project (runnable) from you to reproduce the issue on our end. Also, give us (steps) details on how to reproduce the issue on our end as you told earlier the issue was not found every time.
Hi, I have a sample runnable project ready. However, I would like to e-mail you this project rather than posting it in here. Please check your e-mail. Thank you.
I got your mail with details about your project. We appreciate if you could upload your project (runnable) with template files on some file sharing services/drives (e.g dropbox, google drive, or your own custom drive, etc.) and share the download link or credentials here (or via mail), we will download it and check it soon.
Sorry, I think I did not attach my project in my mail. I just sent you the compressed version of my project. Please un-zip it, and follow the instruction that I have provided. Please let me know the result as soon as possible.
Plus, for your information, the following is the instruction of running this project that I included in my previous mail to you. Please read this before you run the project.
Place ‘QuadrantAnalysisByFundLTV.xlsx’ and ‘QuadrantAnalysisByFundLeverage.xlsx’ in your C:\Temp.
Build and run Program.cs
Then you will find that ‘testQuadrant Analysis_LTV00010101.xlsx’ and ‘testQuadrant Analysis_Leverage00010101.xlsx’ in your C:\Temp.
Open ‘testQuadrant Analysis_Leverage00010101.xlsx’.
Please notice that the pale green color of left graph is significantly different from the pale green color of the right graph.
This is the issue that I am facing. If you take a close look at the code,(WriterQuadrantAnalysisBase.cs) in line 887, you will see
and you will be able to observe that there is nothing that changes the color for the different graph(however, as mentioned before, the pale green color is presented differently).
I suspect this might be the evaluation version issue. Please take a very close look at the code, and let me know if you find any solution or reason for the color inconsistency.
P.S.
I have accidentally sent the mail twice with the project. Those are the same project with no difference.
I got your mail with attachment but the attachment is just a message file (.msg), i.e., “VS Projects_zip (1.04 KB)”. Please upload your attachments here or upload to some third party service and share the link here, so we could evaluate your issue.
I am currently working on resolving this issue(I think this is related to the security). Once I solve this issue, I will send you the package as soon as possible. Please keep me posted.
Thanks for sharing us the project (via your internal box) with template files.
After an initial test, I am able to reproduce the issue as you mentioned by using your sample project with your template files. I found bubble colors are changed a bit for different charts even using the same lines of code. I have logged a ticket with an id “CELLSNET-45454” for your issue. Our concerned developer from product team will investigate and analyze your code if this is an issue with the APIs or your sample code needs some tweak.
Once we have an update on it, we will let you know here.
By investigating the result file(testQuadrant Analysis_Leverage00010101.xlsx), we find the chart points and series have other settings of fill and border before running “StyleChart” method. When setting file of series by following code segment, the settings of points and series still exist. As the 2 charts have different other settings, the bubbles have different colors.
According to the rules of MS Excel, if you change series’ properties, the chart points will be changed too. We cannot do same behavior as per MS Excel as Aspose.Cells is not a visual tool.
We suggest clearing the settings of the points, set the fill of series to automatic before setting series’s setting.
See the following complete code of StyleChart() method in WriterQuadrantAnalysisBase.cs. Only add 2 code segments. They will start with “Add 1” and "Add 2 and end with “End Add 1” and “End Add 2”.
You do not need to change other code segments much you provide,
“Add 1” is setting points to automatic.
“Add 2” is setting series to automatic.
e.g Sample code: