ColumnFacet

When I use the property ColumnFacet as Cylinder, occurs an error:

Uncaught TypeError: Cannot read property 'x' of undefined
    at vector3DMinus (ej.web.all.min.js:10)
    at polygon3D.calcNormal (ej.web.all.min.js:10)
    at polygon3D (ej.web.all.min.js:10)
    at polygon3D.createCylinder (ej.web.all.min.js:10)
    at Object.update (ej.web.all.min.js:10)
    at Object.draw (ej.web.all.min.js:10)
    at Object.renderSeries (ej.web.all.min.js:10)
    at Object.seriesRender (ej.web.all.min.js:10)
    at Object.draw (ej.web.all.min.js:10)
    at Object.bindTo (ej.web.all.min.js:10)


#####################################################

$("#container").ejChart(
{
  "argument": "nomevendedor",
  "commonSeriesOptions": {
    "columnFacet": "cylinder",
    "dataSource": [
      {
        "valorvendareal": 44356759.83,
        "nomevendedor": "CLIENTE (SUL) V"
      },
      {
        "valorvendareal": 7877735.71,
        "nomevendedor": "CLIENTE ROCHA"
      },
      {
        "valorvendareal": 4469859.4,
        "nomevendedor": "CLIENTE NASCIMENTO"
      },
      {
        "valorvendareal": 4343250.97,
        "nomevendedor": "NENHUM"
      },
      {
        "valorvendareal": 3255630.67,
        "nomevendedor": "CLIENTE X"
      }
    ],
    "marker": {
      "dataLabel": {
        "angle": 0,
        "connectorLine": {
          "height": 70,
          "stroke": null
        },
        "enableContrastColor": false,
        "enableWrap": false,
        "fill": "#000000",
        "font": {
          "color": "#FFFFFF",
          "size": 14
        },
        "offset": {
          "x": 0,
          "y": 0
        },
        "shape": "Rectangle",
        "visible": false,
        "textPosition": "top"
      }
    },
    "tooltip": {
      "visible": true
    },
    "type": "Column"
  },
  "depth": 100,
  "enable3D": true,
  "enableRotation": true,
  "isResponsive": true,
  "legend": {
    "alignment": "Center",
    "border": {
      "color": "#F0EBEB",
      "width": 1
    },
    "columnCount": 1,
    "enableScrollbar": true,
    "opacity": 1,
    "position": "Bottom",
    "rowCount": 2,
    "textOverflow": "None",
    "textWidth": 34,
    "toggleSeriesVisibility": true,
    "visible": true
  },
  "locale": "pt-BR",
  "perspectiveAngle": 90,
  "primaryXAxis": {
    "labelIntersectAction": "MultipleRows",
    "labelRotation": 0,
    "majorGridLines": {
      "width": 1,
      "visible": true,
      "opacity": 1
    }
  },
  "primaryYAxis": {
    "labelIntersectAction": "MultipleRows",
    "labelRotation": 0,
    "majorGridLines": {
      "width": 1,
      "visible": true,
      "opacity": 1
    }
  },
  "rotation": 0,
  "series": [
    {
      "xName": "nomevendedor",
      "yName": "valorvendareal",
      "name": "valorvendareal",
      "border": {
        "width": 2,
        "color": "#FFFFFF"
      }
    }
  ],
  "sideBySideSeriesPlacement": true,
  "size": {
    "height": "600",
    "width": "800"
  },
  "theme": "Office365",
  "tilt": 0,
  "title": {
    "text": ""
  },
  "wallSize": 2,
});

2 Replies

BP Baby Palanidurai Syncfusion Team April 13, 2018 09:13 AM UTC

Hi Rogerio, 

Thanks for using syncfusion products, 

We have analyzed your query. We have checked with your sample and you are using series type as ‘Column’ where is C capital. If you use small  “c” for column types, it will working fine. But it should also work on Capital ‘C’, we will fix the issue and this fix will be available for Essential Studio volume 1 service pack 2 release which is expected to be out in the end April, 2018. 
Please find the code snippet below to achieve this requirement. 

"commonSeriesOptions": { 
    "columnFacet": "cylinder", 
     "type": "column" 
  }, 

Screenshot: 
 

Sample for your reference can be find from below link, 

Kindly revert us, if you have any concerns. 

Thanks, 
Baby. 



BP Baby Palanidurai Syncfusion Team April 26, 2018 11:24 AM UTC

Hi Rogerio, 
  
We are glad to announce that our Essential Studio 2018 Volume 1 Service Pack 2 Release v16.1.0.37 is rolled out, we have added the fix for “Chart not rendering while set series type as Column, C capital” issue and is available for download under the following link. 
  
  
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 
  
Regards             
Baby 


Loader.
Up arrow icon