Results 1 to 3 of 3

Thread: D3 Pack Chart nodeValue Not Passing Record...

  1. #1
    Sencha Premium Member
    Join Date
    Mar 2011
    Posts
    5

    Default D3 Pack Chart nodeValue Not Passing Record...

    The nodeValue documentation has "record" as a parameter passed to the function:
    function(record) {
    return record.childNodes.length + 1;
    }

    When I add the function in Architect, it does not include the parameter. Note the nodeText function includes component & node as parameters. Am I missing something?

    xtype: 'd3-pack',
    nodeText: function(component, node) {
    return node.data.data.name;
    },
    nodeValue: function() {


    },
    store: 'PackTreeStore',
    padding: 20,
    tooltip: {
    renderer: 'onTooltip'
    },
    rootVisible: false,


    Thanks,
    Don

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    1,006
    Answers
    5

    Default

    Thank you so much for your post. I apologize for the delay. I have shared this with the support staff to look into at their earliest convenience. Your patience is greatly appreciated!

    Thanks again,

    Michele


  3. #3
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    542
    Answers
    7

    Default

    Hello,


    Thank you for contacting Sencha Support!


    We are going to reach out to the Architect team and will keep you posted as soon as there is an update.


    Thank you for your patience.


    Regards,
    Kumar
    Sencha Support.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •