Skip to content

unexplained inconsistency in barchart tutorial #10

@roseKQ

Description

@roseKQ

I have been trying to update the API to 1.3 - I managed to do this but had to change my values value from number to PrimitiveValue - It however is now not compatible with the d3 I had written (I had a working custom visual) using API version 1.2. I looked back over the barchart tutorial to see how this issue was dealt with, and found that there was an unexplained change not highlighted in the code from commit to commit.

In the building Bar Chart section;

Step 6. Adding Databound Objects to Property Pane - at this commit -

src/barchart.ts - line 26

value: number;

Step 7. Adding Tooltips to the Bar Chart - There is an undocumented change at this commit

src/barchart.ts - line 26

value: PrimitiveValue;

If you're using commits to highlight the changes made at each stage in a tutorial, it is unfair to boobytrap the tutorial by not highlighting or explaining all changes. I've had to revert back to API 1.2 until I figure out how to proceed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions