I'm using a CCC Stacked Area chart with timeSeries=TRUE. The chart displays correctly but I would like to clip the plot area using baseAxisFixedMin and Max. However, nothing happens when I provide a value using the timeSeriesFormat (%Y-%m-%d) defined for the chart.
The online doc I've found (http://www.webdetails.pt/ctools/char....html#fixedMin) seems like this should work. I've tried other formats as well as putting the value in single quotes (') and double quotes(") with no behavior change. When I set these values for a numeric orthoaxis it behaves as described. Ultimately I want to perform this in a post fetch event function based on a DateParameter value using the following lines of code:
this.chartDefinition.title = Dashboards.getParameterValue("DateParam");
this.chartDefinition.baseAxisFixedMin = Dashboards.getParameterValue("DateParam");
Setting the title is a debug line to make sure the parameter has a value in it and the title displays a date of "2012-01-30" but it does not affect the chart and the plot is not clipped at the provided date.
Any ideas?
The online doc I've found (http://www.webdetails.pt/ctools/char....html#fixedMin) seems like this should work. I've tried other formats as well as putting the value in single quotes (') and double quotes(") with no behavior change. When I set these values for a numeric orthoaxis it behaves as described. Ultimately I want to perform this in a post fetch event function based on a DateParameter value using the following lines of code:
this.chartDefinition.title = Dashboards.getParameterValue("DateParam");
this.chartDefinition.baseAxisFixedMin = Dashboards.getParameterValue("DateParam");
Setting the title is a debug line to make sure the parameter has a value in it and the title displays a date of "2012-01-30" but it does not affect the chart and the plot is not clipped at the provided date.
Any ideas?