Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

facetChart max data points

$
0
0
Smartclient version: v9.1p_2014-07-20/Enterprise Deployment (2014-07-20)

Browser: Chromium based custom browser.


Hi,

Is there a upper limit on the number of data points we can use when using facetCharts? (In particular with Bar and Column charts). I'm finding that when using bar or column charts with more than a few hundred points, the charts get drawn incorrectly (screenshots attached). Changing the chart type to "Area" or "Line" produces better results. The problem is exaggerated when the screen area for the chart is smaller.

Chart definition:

Code:

this.vpaChart = isc.FacetChart.create({
            facets: [{
                    id: "price", // the key used for this facet in the data
                    title: "Price"
                }
            ],
            bandedBackground: false,
            chartType: "Area",
            allowedChartTypes: ["Area", "Bar", "Column", "Line"],      // custom property: only allow these chart types
            valueProperty: "volume",
            valueTitle: "Cumulative Trade Volumes",
            title: "Cumulative Volume vs Price",
            labelCollapseMode: "sample",
            styleName: "transactionsVpaChart",
            showValueOnHover: true,
            //showDataValues: true,
            autoDraw: false,
            customContextMenu: isc.Menu.create({})      // custom property
        })


Attached Images
File Type: jpg Bar.jpg (17.4 KB)
File Type: jpg Area.jpg (31.6 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles