You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a really nice example of using catcorrjs on non-survey categorical data and the 'Respondents' labels jump out as being rather ridiculous when they refer to pictures, not people. I'm sure there will be other things, like animation times in #26, absolute or relative views in #25, etc that will also need to have customized settings. Here's a proposed API change to incorporate an optional settings object that is passed as a third argument:
varcc=catcorr("#selector",data,{// specify [singular, plural] noun for data so that legend labels don't look ridiculous.datum_label: ["respondent","respondents"],// to be added for #25, follows all configuration options in d3 // https://github.com/mbostock/d3/wiki/Transitions#starting-transitionsanimation: {delay: value_in_ms_or_function,duration: value_in_ms_or_function,ease: string_or_function,},// to be added for #26, "absolute" (current) or "relative" (Option C in #26)default_view: "absolute",// other hardcoded values that come to mind off the top of my mind // (will open new issue for this one)bar_width: 80,chart_height: 100,});
The text was updated successfully, but these errors were encountered:
This is a nice feature to add to the API. As we go over the vcdExtra library in R, we might find more ways in which CatCorrJS would be useful. Thanks for this terrific library!
This is a really nice example of using catcorrjs on non-survey categorical data and the 'Respondents' labels jump out as being rather ridiculous when they refer to pictures, not people. I'm sure there will be other things, like animation times in #26, absolute or relative views in #25, etc that will also need to have customized settings. Here's a proposed API change to incorporate an optional settings object that is passed as a third argument:
The text was updated successfully, but these errors were encountered: