React UI Components Documentation
Styling and Appearance
jQWidgets uses a pair of css files - jqx.base.css and jqx.[theme name].css. The base stylesheet creates the styles related to the widget's layout like margin, padding, border-width, position. The second css file applies the widget's colors and backgrounds. The jqx.base.css should be included before the second CSS file.
Below is the list of CSS classes used by jqxTreeMap.-
jqxTreeMap Style
- jqx-widget - applied to the jqxTreeMap widget.
- jqx-treemap-rectangle - applied to each sector.
- jqx-treemap-rectangle-hover - applied to the hovered/selected sectors.
- jqx-treemap-label - applied to the sector's label.
- jqx-treemap-rectangle-parent - applied to a sector which has nested sectors.
- jqx-treemap-legend - applied to the legend.
- jqx-treemap-legend-label - applied to the legend's title.
- jqx-treemap-legend-color - applied to each item in the legend's bar.
- jqx-treemap-legend-value - applied to the values in the legend's bar.
- jqx-treemap-legend-min-value - applied to the values in the legend's bar. Determines the position of the left part of the value.
- jqx-treemap-legend-min-value - applied to the values in the legend's bar. Determines the position of the right part of the value.
- Add the above CSS classes related to jqxTreeMap.
- After each CSS class, add your theme name.
For example:
jqx-treemap-custom - To apply your custom style to jqxTreeMap, you need to set its 'theme' property(option) to point to your theme name string.