forked from OfficeDev/Microsoft-Teams-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request OfficeDev#1442 from OfficeDev/v-hrajandira/BotForm…
…attingCardsFeatures Added Container Layout, Donut Chart, Gauge Chart, Horizontal Chart, H…
- Loading branch information
Showing
108 changed files
with
2,436 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+8.84 KB
(110%)
samples/bot-formatting-cards/csharp/BotFormattingCards/Images/15.LayoutMobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+58.7 KB
...rmatting-cards/csharp/BotFormattingCards/Images/34.ContainerAndDonutOptions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+67.4 KB
samples/bot-formatting-cards/csharp/BotFormattingCards/Images/35.ChartOptions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+63.8 KB
...-formatting-cards/csharp/BotFormattingCards/Images/36.RemainingChartOptions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+153 KB
...es/bot-formatting-cards/csharp/BotFormattingCards/Images/37.ContainerLayout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+57.5 KB
samples/bot-formatting-cards/csharp/BotFormattingCards/Images/38.DonutChart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+58.4 KB
samples/bot-formatting-cards/csharp/BotFormattingCards/Images/39.GaugeChart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+52.3 KB
...es/bot-formatting-cards/csharp/BotFormattingCards/Images/40.HorizontalChart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+58.1 KB
...formatting-cards/csharp/BotFormattingCards/Images/41.HorizontalChartStacked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+90.4 KB
samples/bot-formatting-cards/csharp/BotFormattingCards/Images/42.LineChart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+61.7 KB
samples/bot-formatting-cards/csharp/BotFormattingCards/Images/43.PieChart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+48 KB
...s/bot-formatting-cards/csharp/BotFormattingCards/Images/44.VerticalBarChart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+49.2 KB
...ormatting-cards/csharp/BotFormattingCards/Images/45.VerticalBarGroupedChart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+445 KB
(140%)
.../bot-formatting-cards/csharp/BotFormattingCards/Images/bot_formatting_cards.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions
49
...ot-formatting-cards/csharp/BotFormattingCards/Resources/adaptiveCardContainerLayouts.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"type": "AdaptiveCard", | ||
"version": "1.5", | ||
"layouts": [ | ||
{ | ||
"type": "Layout.AreaGrid", | ||
"targetWidth": "atLeast:standard", | ||
"columns": [ | ||
60 | ||
], | ||
"areas": [ | ||
{ | ||
"name": "imageArea" | ||
}, | ||
{ | ||
"name": "textArea", | ||
"column": 2 | ||
} | ||
] | ||
} | ||
], | ||
"body": [ | ||
{ | ||
"type": "Image", | ||
"url": "https://picsum.photos/200/200?image=110", | ||
"grid.area": "imageArea", | ||
"style": "RoundedCorners", | ||
"targetWidth": "atLeast:narrow" | ||
}, | ||
{ | ||
"type": "Container", | ||
"grid.area": "textArea", | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "Adaptive Cards", | ||
"wrap": true, | ||
"size": "ExtraLarge", | ||
"weight": "Bolder" | ||
}, | ||
{ | ||
"type": "TextBlock", | ||
"text": "The simple, lightweight card format to power your ideas.", | ||
"wrap": true | ||
} | ||
] | ||
} | ||
] | ||
} |
43 changes: 43 additions & 0 deletions
43
samples/bot-formatting-cards/csharp/BotFormattingCards/Resources/adaptiveCardDonutChart.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"type": "AdaptiveCard", | ||
"version": "1.5", | ||
"body": [ | ||
{ | ||
"type": "Chart.Donut", | ||
"data": [ | ||
{ | ||
"legend": "Pear", | ||
"value": 59 | ||
}, | ||
{ | ||
"legend": "Banana", | ||
"value": 292 | ||
}, | ||
{ | ||
"legend": "Apple", | ||
"value": 143 | ||
}, | ||
{ | ||
"legend": "Peach", | ||
"value": 98 | ||
}, | ||
{ | ||
"legend": "Kiwi", | ||
"value": 179 | ||
}, | ||
{ | ||
"legend": "Grapefruit", | ||
"value": 50 | ||
}, | ||
{ | ||
"legend": "Orange", | ||
"value": 212 | ||
}, | ||
{ | ||
"legend": "Cantaloupe", | ||
"value": 68 | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.