ej:treemap CSS Rules & Missing Properties

Can you advise how we cab change the background color of the Essentials JS 1 ASP.NET Web Forms treemap control. I cannot see any CSS rules defining this control.

Also all the demos (Essential Studio for ASP.NET : TreeMap - Customization Demo (syncfusion.com)) seem to have properties that the current version (18.4.0.39) do not have. This is relevant when it comes to color mapping. Can you advice why this is?



Thanks


Attachment: Problems_5b0f16b3.7z

14 Replies 1 reply marked as answer

SB Swetha Babu Syncfusion Team February 25, 2021 02:18 PM UTC

Hi Mike,

Thank you for contacting Syncfusion support.

We are not able to reproduce the reported issue. We can set the color for the TreeMap items using the "color" property in the "TreeMapUniColorMapping" class. We can set the background color for the TreeMap control using the "BackgroundColor" property. We have created a simple ASP.NET Webforms application to demonstrate the same and it can be downloaded from the following link.

https://www.syncfusion.com/downloads/support/forum/162928/ze/Treemap-209734858

 
Please find the screenshot of the sample below for your reference.



Please modify the above application or provide us your application to reproduce the reported issue. It will be helpful for us to analyze further and assist you better.

Regards,
Swetha Babu 



MH Mike Halford February 25, 2021 03:54 PM UTC

Thanks for demo code.

I'm getting an unsupported warning when viewing code (see image). I get this in my code also when trying to add properties to treemap control

Mike






Attachment: Capture_9050ff45.7z


SB Swetha Babu Syncfusion Team February 26, 2021 10:00 AM UTC

Hi Mike,

Thank you for your update.

When we checked your code and we came to know that you are using tag name in small letters. We need to use the tag name "TreeMapUniColorMapping" in capital letters. So, it throws a warning when viewing the code. Please find the below code snippet for your reference.

Code Snippet:
 
 <ej:Treemap ID="customization" runat="server" WeightValuePath = "TotalMedals" BackgroundColor="blue" > 
            <TreeMapUniColorMapping Color = "#D73028"></TreeMapUniColorMapping> 
            <LeafItemSettings ShowLabels = "true" LabelPath = "GameName"></LeafItemSettings> 
</ej:Treemap> 

Please refer to the sample that we have updated in our previous update. If the reported issue still persists, please share your application that reproduces the reported issue. It will be helpful for us to analyze further and assist you better.

Regards,
Swetha Babu
 



MH Mike Halford February 26, 2021 10:48 AM UTC


Hi Swetha

Thanks for update. Very confused now. 

Here is what I get when adding a control to the page



I cannot understand why I'm not seeing all the properties. Your updated sample still shows warnings.



Mike



SB Swetha Babu Syncfusion Team March 1, 2021 01:54 PM UTC

Hi Mike,

Thank you for your update.

We are able to reproduce the reported issue in our environment. Please let us know the following details to analyze the reported scenario further. 
  • Visual Studio version:
  • The sample gets rendered or not when launched with the reported warnings:
  • Screenshot of the warning message that is thrown in your application.
  
Please let us know the above details. It will be helpful for us to analyze further and assist you better. Meanwhile, we will check the issue in our side and update you with further details on March 3, 2021.

Regards,
Swetha Babu 



MH Mike Halford March 1, 2021 02:27 PM UTC

Visual Studio 2019 Community Edition v16.8.6

Demo application renders fine and launches without any issues.

VS Warnings are



SB Swetha Babu Syncfusion Team March 2, 2021 02:26 PM UTC

Hi Mike,

Thank you for your update.

We will check the reported issue with the provided details. However, we will update you with further details on March 3, 2021.

Regards,
Swetha Babu


MH Mike Halford March 3, 2021 02:23 PM UTC

Thanks.

Interesting thing. If we add chart to a page we get the same issue. Lots of warnings but chart renders correctly.



Mike


SB Swetha Babu Syncfusion Team March 3, 2021 04:31 PM UTC

Hi Mike,

Sorry for the inconvenience caused.

We are still analyzing the reported issue. However, we will analyze further and update you with further details on March 5, 2021.

Regards,
Swetha Babu


SA Sabari Anand Senthamarai Kannan Syncfusion Team March 5, 2021 06:52 PM UTC

Hi Mike, 
 
Thank you for your patience. 
 
Please find the below response for your queries. 
Queries 
Details 
Warning in Charts 
We have analyzed your query. From that we would like to let you know that warning is thrown since property inside tag is used directly yet chart will render fine without any issues. Hence we suggest you to use separate tags as shown in the below code snippet to overcome the reported scenario. We have also prepared a sample for your reference. Please find the sample below.   
  
  
Code Snippet: 
// add your additional code here  
 
<ej:Chart ID="Chart1" runat="server" Width="970" Height="600" IsResponsive="true" OnClientLoad="onChartLoad">  
            <PrimaryXAxis ValueType="Datetime" LabelFormat="MMM" IntervalType="Months">  
                <AxisLine Visible="false" />  
                <Title Text="Year"></Title>  
                <MajorGridLines Visible="false"/>  
                <MinorGridLines Visible="false" />  
            </PrimaryXAxis>   
            <PrimaryYAxis LabelFormat="${value}"/>  
             <Series>  
               <ej:Series Type="Line" Name="Sales" XName="Xvalue" YName="YValue1">  
               </ej:Series>  
              </Series>  
            <Legend Visible="false"></Legend>  
        </ej:Chart>  
 
// add your additional code here 
 
Screenshot:  
 
Warning in treemap 
We have confirmed the reported issue as a defect and logged a defect report for the same. However, we will include the fix for the reported issue in our upcoming weekly patch release which is expected to be available by the end of March 2021. Please find the below feedback link to keep track of the reported issue. 
 
 
Please let us know if you need any further assistance. 
 
Regards, 
Sabari Anand

Marked as answer

MH Mike Halford March 8, 2021 10:52 AM UTC

Hi Sabari

Thanks for the update. I can confirm by separating the tags as suggested has removed any warnings from the chart controls.

Many Thanks

Mike



MH Mike Halford March 8, 2021 11:12 AM UTC

Do you have any update on the Treemap issue yet?

Thanks

Mike



SB Swetha Babu Syncfusion Team March 9, 2021 02:16 PM UTC

Hi Mike,

Thank you for your update.

We are working on the reported issue of "Warning is thrown in treemap". As we updated earlier, we will provide the patch for the fix by the end of March 2021. Please follow the below feedback link to keep track of the reported issue.

https://www.syncfusion.com/feedback/23053

Regards,
Swetha Babu


SB Swetha Babu Syncfusion Team March 31, 2021 02:53 PM UTC

Hi Mike,

Thank you for your patience.

We have included the fix for the reported issue of "Warning thrown in TreeMap" in our Essential Studio 2021 Volume 1 Main Release(v19.1.0.54) which is rolled out and is available for download under the following link.

https://www.syncfusion.com/forums/164043/essential-studio-2021-volume-1-release-v19-1-0-54-is-available-for-download 

We thank you for your support and appreciate your patience in waiting for our release. Please get in touch with us if you would require any further assistance.

Regards,
Swetha Babu 


Loader.
Up arrow icon