Added a .detectQueryType method to Dashboards that takes an options object (like a chartDefinition) and returns a queryType, if there's a registered one that matches.
Merge branch 'master' of github.com:webdetails/cdf
[FIX] (protovis QuantitativeScale Date) Fixed a problem in ticks calculation, in floor rounding of dates of day/week precision.
[FEAT] (CCC AxisDomainRoundMode Timeseries) Date axes now support the "tick" domain round mode. "nice" is not relevant.
[FEAT] (protovis QuantitativeScale Date) Now supports the roundInside option for dates as well.
[FEAT] (CCC Legend Item Size) Added new option to allow controlling the size of each legend item: "legendItemSize". Takes a number, percentage string, JSON size or CSS size string.
Also, legendItemPadding now correctly supports percentages referent to the parent size (were relative to the marker size).
[FEAT] (CCC Legend Item Size) Finished renaming of "row" to "section" in the code.
Merge branch 'master' of github.com:webdetails/cdf
Include Backbone.Events in the prototype of every BaseComponent and only have Dashboards mix it in to and object if it's not already available.
[FIX] (CCC Pie Panel Legend) When all the categories were set to invisible, by using the legend, the panel would internally throw and invalid data exception, which resulted in a chart with no legend to be able to make categories visible again.
Changed the level at which the exception is caught, so that it shows on each plot's panel instead. Also, now only throwing the exception when there are any categories, but their values do not allow representation.
[FIX] (CCC Bar BarWidth) Calculation of barWidth for single series included more margin than it should.
[IMP] (CCC Legend Tooltip) only show legend tooltip when the text of the legend item was trimmed.
[FEAT] (CCC Bar antialias) Auto-antialiasing bars when their width, or the space between is small enough that the pixel rounding results in perceptible different bar widths and/or spacing.