Facets general make their label by looking at the (last) property in the
filtering expression used by the facet. In this case, capshape.
If you want a human readable label, you can tell exhibit the
human-readable name of the property in the exhibit data file. for
example, if you are using json:
{
"properties": {
"capshape": {
"label": "Cap Shape",
"pluralLabel": "Cap Shapes",
}
}
"items": [
... your list of items here
]
}
Another option you can explore is to use css to hide the label generated
by the facet and instead provide your own using normal html
On 11/15/2015 4:41 PM, Jay Gray wrote:
> For this example:
>
> http://www.simile-widgets.org/exhibit3/examples/other-versions/HEAD/shrooms/shrooms.html
>
> How to to implement "data-ex-facet-label"?
> For example, data-ex-facet-label="Cap Shape" does not work.
> Instead, the expression term "capshape" is the facet-label.
>
> /jay gray
>
> --
> You received this message because you are subscribed to the Google
> Groups "SIMILE Widgets" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/simile-widgets.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.