@@ -91,7 +91,7 @@ Use this example to show a basic area chart.
91
91
};
92
92
</script>
93
93
94
- <Card>
94
+ <Card class="p-4 md:p-6" >
95
95
<div class="flex justify-between">
96
96
<div>
97
97
<h5 class="pb-2 text-3xl leading-none font-bold text-gray-900 dark:text-white">32.4k</h5>
@@ -106,7 +106,7 @@ Use this example to show a basic area chart.
106
106
<div class="grid grid-cols-1 items-center justify-between border-t border-gray-200 dark:border-gray-700">
107
107
<div class="flex items-center justify-between pt-5">
108
108
<Button class="inline-flex items-center bg-transparent py-0 text-center text-sm font-medium text-gray-500 hover:bg-transparent hover:text-gray-900 focus:ring-transparent dark:bg-transparent dark:text-gray-400 dark:hover:bg-transparent dark:hover:text-white dark:focus:ring-transparent">Last 7 days<ChevronDownOutline class="m-2.5 ms-1.5 w-2.5" /></Button>
109
- <Dropdown class="w-40" offset="-6">
109
+ <Dropdown simple class="w-40" offset="-6">
110
110
<DropdownItem>Yesterday</DropdownItem>
111
111
<DropdownItem>Today</DropdownItem>
112
112
<DropdownItem>Last 7 days</DropdownItem>
@@ -203,7 +203,7 @@ To create a double line chart check the example below.
203
203
};
204
204
</script>
205
205
206
- <Card>
206
+ <Card class="p-4 md:p-6" >
207
207
<div class="mb-5 flex justify-between">
208
208
<div class="grid grid-cols-2 gap-4">
209
209
<div>
@@ -244,7 +244,7 @@ To create a double line chart check the example below.
244
244
</div>
245
245
<div>
246
246
<Button color="light" class="px-3 py-2">Last week<ChevronDownOutline class="ms-1.5 h-2.5 w-2.5" /></Button>
247
- <Dropdown class="w-40">
247
+ <Dropdown simple class="w-40">
248
248
<DropdownItem>Yesterday</DropdownItem>
249
249
<DropdownItem>Today</DropdownItem>
250
250
<DropdownItem>Last 7 days</DropdownItem>
@@ -380,7 +380,7 @@ You can represent multiple data entries using columns by setting the type: "bar"
380
380
};
381
381
</script>
382
382
383
- <Card>
383
+ <Card class="p-4 md:p-6" >
384
384
<div class="mb-4 flex justify-between border-b border-gray-200 pb-4 dark:border-gray-700">
385
385
<div class="flex items-center">
386
386
<div class="me-3 flex h-12 w-12 items-center justify-center rounded-lg bg-gray-100 dark:bg-gray-700">
@@ -412,7 +412,7 @@ You can represent multiple data entries using columns by setting the type: "bar"
412
412
<div class="grid grid-cols-1 items-center justify-between border-t border-gray-200 dark:border-gray-700">
413
413
<div class="flex items-center justify-between pt-5">
414
414
<Button class="inline-flex items-center bg-transparent py-0 text-center text-sm font-medium text-gray-500 hover:bg-transparent hover:text-gray-900 focus:ring-transparent dark:bg-transparent dark:text-gray-400 dark:hover:bg-transparent dark:hover:text-white dark:focus:ring-transparent">Last 7 days<ChevronDownOutline class="m-2.5 ms-1.5 w-2.5" /></Button>
415
- <Dropdown class="w-40" offset="-6">
415
+ <Dropdown simple class="w-40" offset="-6">
416
416
<DropdownItem>Yesterday</DropdownItem>
417
417
<DropdownItem>Today</DropdownItem>
418
418
<DropdownItem>Last 7 days</DropdownItem>
@@ -529,7 +529,7 @@ Create a horizontal bar chart with as many data series as you like by setting th
529
529
};
530
530
</script>
531
531
532
- <Card>
532
+ <Card class="p-4 md:p-6" >
533
533
<div class="flex justify-between border-b border-gray-200 pb-3 dark:border-gray-700">
534
534
<dl>
535
535
<dt class="pb-1 text-base font-normal text-gray-500 dark:text-gray-400">Profit</dt>
@@ -558,7 +558,7 @@ Create a horizontal bar chart with as many data series as you like by setting th
558
558
<div class="grid grid-cols-1 items-center justify-between border-t border-gray-200 dark:border-gray-700">
559
559
<div class="flex items-center justify-between pt-5">
560
560
<Button class="inline-flex items-center bg-transparent py-0 text-center text-sm font-medium text-gray-500 hover:bg-transparent hover:text-gray-900 focus:ring-transparent dark:bg-transparent dark:text-gray-400 dark:hover:bg-transparent dark:hover:text-white dark:focus:ring-transparent">Last 7 days<ChevronDownOutline class="m-2.5 ms-1.5 w-2.5" /></Button>
561
- <Dropdown class="w-40" offset="-6">
561
+ <Dropdown simple class="w-40" offset="-6">
562
562
<DropdownItem>Yesterday</DropdownItem>
563
563
<DropdownItem>Today</DropdownItem>
564
564
<DropdownItem>Last 7 days</DropdownItem>
@@ -640,7 +640,7 @@ Create a pie chart with multiple data series by setting the type: "pie" chart ty
640
640
};
641
641
</script>
642
642
643
- <Card>
643
+ <Card class="p-4 md:p-6" >
644
644
<div class="flex w-full items-start justify-between">
645
645
<div class="flex-col items-center">
646
646
<div class="mb-1 flex items-center">
@@ -659,7 +659,7 @@ Create a pie chart with multiple data series by setting the type: "pie" chart ty
659
659
</div>
660
660
<div class="flex items-center justify-end">
661
661
<DotsHorizontalOutline id="dots-menu" class="dots-menu dark:text-white" />
662
- <Dropdown triggeredBy="#dots-menu" class="w-44" offset="-6">
662
+ <Dropdown simple triggeredBy="#dots-menu" class="w-44" offset="-6">
663
663
<DropdownItem><PenSolid class="me-2 inline h-3 w-3" /> Edit widget</DropdownItem>
664
664
<DropdownItem><DownloadSolid class="me-2 inline h-3 w-3" />Dropdown data</DropdownItem>
665
665
<DropdownItem><ShareNodesSolid class="me-2 inline h-3 w-3" />Add to repository</DropdownItem>
@@ -673,7 +673,7 @@ Create a pie chart with multiple data series by setting the type: "pie" chart ty
673
673
<div class="grid grid-cols-1 items-center justify-between border-t border-gray-200 dark:border-gray-700">
674
674
<div class="flex items-center justify-between pt-5">
675
675
<Button class="inline-flex items-center bg-transparent py-0 text-center text-sm font-medium text-gray-500 hover:bg-transparent hover:text-gray-900 focus:ring-transparent dark:bg-transparent dark:text-gray-400 dark:hover:bg-transparent dark:hover:text-white dark:focus:ring-transparent">Last 7 days<ChevronDownOutline class="m-2.5 ms-1.5 w-2.5" /></Button>
676
- <Dropdown class="w-40" offset="-6">
676
+ <Dropdown simple class="w-40" offset="-6">
677
677
<DropdownItem>Yesterday</DropdownItem>
678
678
<DropdownItem>Today</DropdownItem>
679
679
<DropdownItem>Last 7 days</DropdownItem>
@@ -781,7 +781,7 @@ Set the chart type: "donut" to create a donut chart and copy the options from th
781
781
};
782
782
</script>
783
783
784
- <Card>
784
+ <Card class="p-4 md:p-6" >
785
785
<div class="flex w-full items-start justify-between">
786
786
<div class="flex-col items-center">
787
787
<div class="mb-1 flex items-center">
@@ -809,7 +809,7 @@ Set the chart type: "donut" to create a donut chart and copy the options from th
809
809
<div class="grid grid-cols-1 items-center justify-between border-t border-gray-200 dark:border-gray-700">
810
810
<div class="flex items-center justify-between pt-5">
811
811
<Button class="inline-flex items-center bg-transparent py-0 text-center text-sm font-medium text-gray-500 hover:bg-transparent hover:text-gray-900 focus:ring-transparent dark:bg-transparent dark:text-gray-400 dark:hover:bg-transparent dark:hover:text-white dark:focus:ring-transparent">Last 7 days<ChevronDownOutline class="m-2.5 ms-1.5 w-2.5" /></Button>
812
- <Dropdown class="w-40" offset="-6">
812
+ <Dropdown simple class="w-40" offset="-6">
813
813
<DropdownItem>Yesterday</DropdownItem>
814
814
<DropdownItem>Today</DropdownItem>
815
815
<DropdownItem>Last 7 days</DropdownItem>
@@ -894,7 +894,7 @@ To create a radial chart with multiple data entries you need to set the type: "r
894
894
};
895
895
</script>
896
896
897
- <Card>
897
+ <Card class="p-4 md:p-6" >
898
898
<div class="flex w-full items-start justify-between">
899
899
<div class="flex-col items-center">
900
900
<div class="mb-1 flex items-center">
@@ -961,7 +961,7 @@ To create a radial chart with multiple data entries you need to set the type: "r
961
961
<div class="grid grid-cols-1 items-center justify-between border-t border-gray-200 dark:border-gray-700">
962
962
<div class="flex items-center justify-between pt-5">
963
963
<Button class="inline-flex items-center bg-transparent py-0 text-center text-sm font-medium text-gray-500 hover:bg-transparent hover:text-gray-900 focus:ring-transparent dark:bg-transparent dark:text-gray-400 dark:hover:bg-transparent dark:hover:text-white dark:focus:ring-transparent">Last 7 days<ChevronDownOutline class="m-2.5 ms-1.5 w-2.5" /></Button>
964
- <Dropdown class="w-40" offset="-6">
964
+ <Dropdown simple class="w-40" offset="-6">
965
965
<DropdownItem>Yesterday</DropdownItem>
966
966
<DropdownItem>Today</DropdownItem>
967
967
<DropdownItem>Last 7 days</DropdownItem>
0 commit comments