Skip to Content
avatar image
Former Member

Is there any css for tree component which is introduced newly in 1.6 ?

Hi,

I tried changing the font size and color of the font of the contents in tree structure after adding hierarchy to it.

I tried using the below code for it. I was unsuccessful.

I have used the below code.

background-color: rgb(81,81,81);

line-height: 20px;

font-family:"HelveticaNeue-Regular", sans-serif;

font-weight: bold;

font-size: 25px;

text-align: Center;

color: white;

What wrong I'm doing here ?

Thank you

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 22, 2016 at 06:26 AM

    Hi Rajath Gowda,

    You haven't affect the native class of tree component.

    Use below code to achieve the result, and css class as 'hierarchy' in property sheet.

    Thanks,

    Ganesh Babu, VisualBI Solutions.


    pastedImage_0.png (54.0 kB)
    pastedImage_1.png (20.9 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • Apr 21, 2016 at 10:05 AM

    First- are you using the tree component as part of the Info Chart?

    Where are you placing the CSS? Please share screen shots - use the camera icon to upload

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      No I'm not taking it as part of infochart ..
      its a different component.

      hierarchy is my class name. In hierarchy class I have written the above css code.

      and this is the hierarchy. done using tree component

      1.png (13.5 kB)
      Untitled.png (2.3 kB)
  • avatar image
    Former Member
    Apr 21, 2016 at 11:15 AM

    Hi Rajath,

    Did you try '!important' thing in your css-options?

    Add comment
    10|10000 characters needed characters exceeded