Skip to content

How do you place content side by side? #319

Answered by PrzemyslawKlys
MartinGC94 asked this question in Q&A
Discussion options

You must be logged in to vote
$TestData = Get-ChildItem $PSHOME
$GroupedData = $TestData | Group-Object -Property Extension -NoElement
New-HTML -HtmlData {
    New-HTMLSection -Direction column -HeaderTextAlignment left -CanCollapse -HeaderText FileData -Content {
        New-HTMLSection -Content {
            New-HTMLChart -Width 350 -Title FileExtensions -ChartSettings {
                foreach ($Group in $GroupedData) {
                    New-ChartPie -Name $Group.Name -Value $Group.Count
                }
            }
            New-HTMLTextBox -TextBlock {
                New-HTMLText -Text "This is the first example of some demotext I want"
                New-HTMLText -Text "This is the second example of som…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@MartinGC94
Comment options

@PrzemyslawKlys
Comment options

@MartinGC94
Comment options

Answer selected by MartinGC94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants