Two charts in same row

UI Components for Angular
Post Reply
youssefboudaya
Posts: 2
Joined: 29 Jul 2021, 21:09

29 Jul 2021, 21:14

I am using chartModel in my angular application.
I have two charts one is pie and the other is donought i want to decrease their size and have them on the same row how can that be done ?

Code: Select all

<div class="row">
  <div classs="col-md-6">
    <p-chart type="doughnut" [data]="data"></p-chart>
  </div>
  <div classs="col-md-6">
    <p-chart type="pie" [data]="data2"></p-chart>
  </div>
</div>

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests