evidence icon indicating copy to clipboard operation
evidence copied to clipboard

Add docs for small multiple and search parameters

Open PowerPlop opened this issue 7 months ago • 2 comments

Description

Additional docs. Didn't validate the styling since I don't know how to build the docs

PowerPlop avatar Jun 05 '25 09:06 PowerPlop

Apologies for the slow review, this works, builds etc. We'd typically add the example in a DocTab like this:

<DocTab>
    <div slot='preview'>
        <BoxPlot 
            data={sales_distribution_by_channel}
            title="Daily Sales Distribution by Channel"
            name=channel
            intervalBottom=first_quartile
            midpoint=median
            intervalTop=third_quartile
            yFmt=usd0
        />
    </div>

```markdown
<BoxPlot 
    data={sales_distribution_by_channel}
    name=channel
    intervalBottom=first_quartile
    midpoint=median
    intervalTop=third_quartile
    yFmt=usd0
/>
```
</DocTab>

This allows the viewer to see both the rendered example, and the code that rendered it if they toggle the tab

archiewood avatar Jul 28 '25 15:07 archiewood

@archiewood updated

PowerPlop avatar Jul 29 '25 06:07 PowerPlop