Home Forums WoodMart support forum Chart dimensions

Chart dimensions

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #148969

    battlebot
    Participant

    Hi,

    Can you please help me to set the dimensions of the charts (width and height)? I need to have a rectangular chart.

    Thank you in advance.

    Attachments:
    You must be logged in to view attached files.
    #149028

    Hello,

    First of all thanks for choosing our Theme, we are glad to be you in WoodMart WordPress family :-).

    To display the chart in rectangular shape you need to change the height and width of the chart. From your screenshot it seems the chart you used is “Line Chart” which is an element of Wp-Bakery and Wp-Bakery allow the user to add custom css class for customization.

    So you need to edit the page in which the chart exist and then edit the chart element and put your custom class as I used “rect” class to set an example for you: https://jmp.sh/B1LJopa

    Then used the below css in Theme Settings >> Custom Css>> Global Custom Css:

    .rect{
    height:500px !important;
    width:700px !important;	
    }

    Best Regards.

Viewing 2 posts - 1 through 2 (of 2 total)