Hi Mark,

Thanks for reply. I will send the html page and data to your yahoo email
since the project is not allowed to be public.

Regards,
Chin Hua

On Sat, Jul 24, 2010 at 11:31 AM, mleden <[email protected]> wrote:

> At first glance, it looks like the weight values would need to be
> quoted.  There may be other problems; it might be easier to
> troubleshoot if you had two URLs one linking to the working Exhibit
> and the second linking to the non-working Exhibit.  We could see the
> JSON for each example from there.
>
> HTH,
> -Mark
>
>
> On Jul 21, 1:00 pm, chinhua kong <[email protected]> wrote:
> > Hi,
> >
> > I'm ChinHua, a software engineer who works in a project that use Exhibit
> to
> > visualize a set of data. We followed the guide from Getting Started with
> > Exhibit and successfully create a demo version. The following HTML code
> > shows the working set. We are using JSON file as input. The attached
> > first.js is the sample data that work with this HTML code.
> >
> > However, we would like to enrich the topics with weight. You can find the
> > new data format of topics in the second.js file. Obviously, I failed to
> make
> > it work. We would like do two things:
> >
> > 1. Replace the ".topics" with "topicId" attributes for the first div that
> > contains ".topics"
> > 2. Add the weight of the topicId to the words cloud so that it
> distinguish
> > based on the topicId weight.
> >
> > Could you advise me on these?
> >
> > Existing HTML code:
> >
> > <div class="Hfacet" id="HfacetDiv" >
> >     <div  ex:role="facet" ex:expression=".topics" ex:facetLabel="Topics"
> > ex:sortMode="count" ex:showMissing="false"></div>
> > </div>
> >
> > <div id="plotDivFrame">
> > <div id="plotDiv">
> >     <div class="clouds plotframe" id="cloudsFrame" >
> >      <div ex:role="facet"  id="cloudsFrameIn"
> >        ex:facetClass="Cloud"
> >        ex:expression=".topics"
> >        ex:showMissing="false"
> >        ></div>
> >  </div>
> > </div>
> >
> > --
> > Best and Regards,
> > Chin Hua Kong
> >
> >  first.js
> > 1KViewDownload
> >
> >  second.js
> > 1KViewDownload
>
> --
> You received this message because you are subscribed to the Google Groups
> "SIMILE Widgets" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<simile-widgets%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/simile-widgets?hl=en.
>
>


-- 
Best and Regards,
Chin Hua Kong

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to