+1
From: simile-widgets@googlegroups.com [mailto:simile-widgets@googlegroups.com] On Behalf Of David Karger Sent: Monday, January 04, 2016 4:57 PM To: simile-widgets@googlegroups.com Subject: Re: [Simile-Widgets] Example from Exhibit 3.0 Scripted Demonstrations I've correct the bug this revealed (and some others) in the "HEAD" exhibit distribution; facet labels will now properly present by default the human-readable labels of their properties. On 11/16/2015 02:52 AM, Jay Gray wrote: Correctomundo! (Jules, Pulp Fiction). Thank you David. /jg On Sunday, November 15, 2015 at 6:57:26 PM UTC-6, David Karger wrote: 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 simile-widget...@googlegroups.com <javascript:> . To post to this group, send email to simile-...@googlegroups.com <javascript:> . 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 simile-widgets+unsubscr...@googlegroups.com <mailto:simile-widgets+unsubscr...@googlegroups.com> . To post to this group, send email to simile-widgets@googlegroups.com <mailto:simile-widgets@googlegroups.com> . 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 a topic in the Google Groups "SIMILE Widgets" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/simile-widgets/1Rs5c6bd4F8/unsubscribe. To unsubscribe from this group and all its topics, send an email to simile-widgets+unsubscr...@googlegroups.com <mailto:simile-widgets+unsubscr...@googlegroups.com> . To post to this group, send email to simile-widgets@googlegroups.com <mailto:simile-widgets@googlegroups.com> . Visit this group at https://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 simile-widgets+unsubscr...@googlegroups.com. To post to this group, send email to simile-widgets@googlegroups.com. Visit this group at https://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/d/optout.