Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

DocChart won't show chart when column name is called Count #60

Open
PrzemyslawKlys opened this issue Jun 4, 2021 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@PrzemyslawKlys
Copy link
Member

$objChart = @(
    [PSCustomObject] @{ Type = 'Passed'; Count = 0 }
    [PSCustomObject] @{ Type = 'Failed'; Count = 3 }
    [PSCustomObject] @{ Type = 'Skipped'; Count = 0 }
)

Documentimo -FilePath $PSScriptRoot\Documentimo-BasicList.docx {
    DocTOC -Title 'Table of content'

    DocNumbering -Text 'My document' -Level 0 -Type Numbered -Heading Heading1 {
        DocText -Text 'Test', ' Test2' -Color Yellow
        DocTable -DataTable $objChart -Design ColorfulGrid
    }
    DocNumbering -Text 'AnotherChart' {
        DocChart -Title 'Processes' -DataTable $objChart  -Key 'Type' -Value 'Count1' -LegendPosition Right
    }

} -Open
@PrzemyslawKlys PrzemyslawKlys self-assigned this Jun 4, 2021
@PrzemyslawKlys PrzemyslawKlys added the bug Something isn't working label Jun 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant