Set Scatrter Chart Data Point Transparency

Hello,

I am working on creating a scatter chart for a presentation. For this I have been able to set the colors of each data points' color by using the DataFormat.MarkerForegroundColor and DataFormat.MarkerBackgroundColor. However, I can't seem to find the method to use for setting the data point's transparency. I can set it manually in the chart once the presentation has been created. But I want this to be done through the code. Am I missing something? I have tried using the ARGB color (Syncfustion.Drawing.Color.FromArgb), but that seems to be ignored. I have also tried using the DataFormat.Fill.Transparency and that too seems to be ignored.

Any help or suggestions would be appreciated.


12 Replies

LB Lokesh Baskar Syncfusion Team March 14, 2022 11:03 AM UTC

Hi Edward, 

We have reproduced the reported problem with “Data Point transparency is not set properly while creating a scatter chart” in our end and we suspect that it to be a defect. We will validate this problem and share the details on or before 16th March 2022.


Regards, 
Lokesh B 



LB Lokesh Baskar Syncfusion Team March 15, 2022 02:49 PM UTC

Hi Edward,

We have confirmed that the mentioned “Scatter chart data point marker transparency is not applied properly” is an issue and we have logged a defect report for it. We will provide patch for this issue which is estimated to be available on on 29th March 2022.   
https://www.syncfusion.com/feedback/33423/scatter-chart-data-point-marker-transparency-is-not-applied-properly


Note: Since you have mentioned your product version as 19.2.0.55, we will provide you the patch for this issue in this version. If you are using any other Essential Studio version then kindly let us know the currently installed version, so that we can provide patch in that version based on our SLA policy.
 

Regards, 
Lokesh B 



LB Lokesh Baskar Syncfusion Team March 29, 2022 12:51 PM UTC

Hi Edward,

We have fixed the reported “Scatter chart data point marker transparency is not applied properly” issue at our end and we have prepared the custom patch NuGet for the reported issue in v19.2.0.55. Please find the custom patch NuGet from the below link:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/syncfusion.officechart.net.core.19.2.0.551324738412

The status of this bug report can be tracked through the below link:  

https://www.syncfusion.com/feedback/33423/scatter-chart-data-point-marker-transparency-is-not-applied-properly


Note: If you require the custom NuGet in our latest version 19.4.0.56 means, we will provide the fix in that version also.


Regards, 

Lokesh B 



EW Edward Williams March 29, 2022 01:14 PM UTC

Yes, please. I am currently using version 19.4.0.43. But I can update to 19.4.0.56.



EW Edward Williams March 29, 2022 01:15 PM UTC

Also, does this patch enable the use of the Alpha in the ARGB color, or will it use the Transparency element?



LB Lokesh Baskar Syncfusion Team March 30, 2022 11:29 AM UTC

Hi Edward,

We have prepared the custom patch NuGet for the reported issue “
Scatter chart data point marker transparency is not applied properly” in v19.4.0.56. Please find the custom patch NuGet from the below link:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/syncfusion.officechart.net.core.19.4.0.56-1264615822

We will include the fix for the reported issue in our upcoming weekly NuGet release once our 2022 Volume 1 is rolled out which we excepted on the first week of April 2022 tentatively.



The status of this bug report can be tracked through the below link:  

https://www.syncfusion.com/feedback/33423/scatter-chart-data-point-marker-transparency-is-not-applied-properly

Regarding Also, does this patch enable the use of the Alpha in the ARGB color, or will it use the Transparency element?
It works with the Transparency API value set.


Regards, 

Lokesh B 



EW Edward Williams March 30, 2022 01:56 PM UTC

Okay, maybe I'm not doing this right. I took the patch and copied it into the folder that has these NuGet packages, overwriting the original file. I did a refresh of the project and even closed out VS and reopened it.

I removed the reference to the "A" component of the RGB colors. Then, I set the IOfficeChartSerie.DataPoints.DataFormat.MarkerBackgroundColor and the  IOfficeChartSerie.DataPoints.DataFormat.MarkerForegroundColor. And then for the Transparency, I set the  IOfficeChartSerie.DataPoints.DataFormat.Fill.Transparency to 0.2.

I am not seeing any difference. Is there something I missed?



LB Lokesh Baskar Syncfusion Team March 31, 2022 10:04 AM UTC

Hi Edward,

We have tried to reproduce the reported problem using the shared NuGet package but, it works properly at our end. For your reference, we have attached the sample application which we used to reproduce the reported issue using the NuGet package and generated output PDF document at our end from the below attachment.

Please refer to the screenshot of the output document generated at our end and the transparency is set properly.

Graphical user interface

Description automatically generated

We suspect that the reported issue might be due to NuGet are not referred to properly in your machine.

We suggest you try the below solutions to resolve the reported problem on your side.

 1.Kindly remove the NuGet packages referred in your application
 2.Delete the respective NuGet packages in “.nuget” folder which is available in “C:\Users\{XXX}\.nuget\packages” folder location.
 3.Then install the NuGet packages again in your application.
 4.Clean the solution, rebuild, and run the application.


Regards, 

Lokesh B 


Attachment: PresentationConsole_Core_56163a8f.zip


EW Edward Williams March 31, 2022 01:38 PM UTC

Okay, so to be clear: Uninstall the Syncfusion NuGet packages from my Visual Studio project (this includes the Syncfusion.Presentation and the Syncfusion.Licensing). Then delete all the nuget package files from my C:\Users\..\.nuget\packages folder...all files with "syncfusion". Then, I go and reinstall the the original from the installer....??



EW Edward Williams March 31, 2022 01:45 PM UTC

I did remove the Synfusion.Presentation NuGet package. But when I tried to reinstall it through the NuGet Package manager, it won't find it or any other package with the "Syncfusion" name. Are these no longer available through NuGet?

Never mind, I had to change the Package source. Doh!



LB Lokesh Baskar Syncfusion Team April 1, 2022 01:36 PM UTC

Hi Edward,

We need to remove the syncfusion.officechart.net.core NuGet package only from your application and no need to delete all NuGet packages in the .nuget folder.

 1.Kindly remove the NuGet packages(syncfusion.officechart.net.core) referred in your application.
 2.Delete the respective NuGet packages(syncfusion.officechart.net.core) in “.nuget” folder(“19.4.0.56” folder) which is available in “C:\Users\{XXX}\.nuget\packages” folder location.
 3.Then install the NuGet packages(syncfusion.officechart.net.core) again which we provided in your application.
 4.Clean the solution, rebuild, and run the application.

Regarding
when I tried to reinstall it through the NuGet Package manager, it won't find it or any other package with the "Syncfusion" name.

Can you please check the NuGet package under nuget.org as shown in the below screenshot.
Graphical user interface, text, application

Description automatically generated


Regards, 

Lokesh B 



MR Manikandan Ravichandran Syncfusion Team April 12, 2022 03:44 PM UTC

Hi Edward,

As promised earlier, we have included the fix for the reported issue with “Scatter chart data point marker transparency is not applied properly" in our latest weekly NuGet release (v20.1.0.48).

Please use the below link to download our latest weekly NuGet:
https://www.nuget.org/packages/Syncfusion.Presentation.Net.Core/20.1.0.48

The status of this bug task can be tracked through the below link:
https://www.syncfusion.com/feedback/33423/scatter-chart-data-point-marker-transparency-is-not-applied-properly

Note: We will include this fix in our 2022 Volume 1 SP release which will be available in mid of May 2022.

Regards,
Manikandan Ravichandran


Loader.
Up arrow icon