{"id":210,"date":"2020-10-09T13:14:02","date_gmt":"2020-10-09T12:14:02","guid":{"rendered":"http:\/\/modules.bijc.co.uk\/?page_id=210"},"modified":"2020-10-09T16:10:30","modified_gmt":"2020-10-09T15:10:30","slug":"chord-data-property-fields","status":"publish","type":"page","link":"https:\/\/modules.bijc.co.uk\/?page_id=210","title":{"rendered":"Chord Data Property Fields"},"content":{"rendered":"\n<p>There are a number of properties that can be added to any data point to override the default settings in the node or link template.<\/p>\n\n\n\n<ul><li>nodeClickable &#8211; Whether the node onClick event will fire<\/li><li>nodeDraggable &#8211; Whether the node can be dragged into a new position<\/li><li>nodeHidden &#8211; Whether the node started disabled<\/li><li>nodeOpacity &#8211; The opacity of the node<\/li><li>nodeInnerRadius &#8211; The inner radius of the node<\/li><li>nodeRadius &#8211; The radius of the node<\/li><li>nodeInnerCornerRadius &#8211; How round the inner corners of the node is in pixels.<\/li><li>nodeCornerRadius &#8211; How round the outer corners of the node is in pixels.<\/li><li>nodeBorderColor &#8211; The color of the border on the node<\/li><li>nodeBorderWidth &#8211; The width of the border on the node<\/li><li>nodeBorderOpacity &#8211; The opacity of the border on the node<\/li><li>nodeBorderDashPattern &#8211; The dash array of the border on the node. More information about the dash pattern can be found <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/SVG\/Attribute\/stroke-dasharray\">at this page<\/a>.<\/li><li>nodeTooltipHTML &#8211; The HTML formatted text of the tooltip for the node. Will not appear on exported images.<\/li><li>nodeTooltipText &#8211; The formatted text of the tooltip for the node.<\/li><li>nodeTooltipPosition &#8211; Can be either &#8220;fixed&#8221; or &#8220;pointer&#8221;. Fixed sets the position, pointer keeps the tooltip under the mouse.<\/li><li>nodeShowTooltipOn &#8211; When to show the tooltip on the node. Can be &#8220;hover&#8221;, &#8220;hit&#8221; or &#8220;always&#8221;<\/li><li>nodeLabelLocation &#8211; <\/li><li>nodeLabelFontSize &#8211; The size of the font on the node label<\/li><li>nodeLabelFontWeight &#8211; The weight of the font on the node label. This can be in words (&#8220;normal&#8221;, &#8220;light&#8221;, &#8220;bolder&#8221;, etc) or numbers (100, 200, 300 and so on to 900)<\/li><li>nodeLabelTextColor &#8211; The colour of the node label as a hex code<\/li><li>nodeLabelWidth &#8211; The maximum width of the label before truncating or wrapping it<\/li><li>nodeLabelTruncate &#8211; Whether to truncate the label at the maximum width.<\/li><li>nodeLabelWrap &#8211; Whether to wrap the label at the maximum width.<\/li><li>nodeLabelTruncateAtFullWords &#8211; Whether to truncate\/wrap the label at the end of words or in the middle of the words.<\/li><li>linkColorMode &#8211; The colour mode of the link. Can be &#8220;fromNode&#8221;, &#8220;toNode&#8221;, &#8220;solid&#8221;<\/li><li>linkOpacity &#8211; The opacity of the link<\/li><li>linkColor &#8211; If the color mode on the link is &#8220;solid&#8221; this will set to color of the node<\/li><li>linkTension &#8211; How curvy the link is from 0 to 1<\/li><li>linkControlPointDistance &#8211; How far along the link before turning. 0.5 disables the link drawing<\/li><li>linkShowTooltipOn &#8211; When to show the tooltip on the link. Can be &#8220;hover&#8221;, &#8220;hit&#8221; or &#8220;always&#8221;<\/li><li>linkBorderColor &#8211; The color of the border on the link<\/li><li>linkBorderWidth &#8211; The width of the border on the link<\/li><li>linkBorderOpacity &#8211; The opacity of the border on the link<\/li><li>linkBorderDashPattern &#8211; The dash array of the border on the link. More information about the dash pattern can be found <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/SVG\/Attribute\/stroke-dasharray\">at this page<\/a>.<\/li><li>linkMiddleLineColor &#8211; The color of the middle line on the link<\/li><li>linkMiddleLineWidth &#8211; The width of the middle line on the link<\/li><li>linkMiddleLineOpacity &#8211; The opacity of the middle line on the link<\/li><li>linkMiddleLineDashPattern &#8211; The dash array of the middle line on the link. More information about the dash pattern can be found <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/SVG\/Attribute\/stroke-dasharray\">at this page<\/a>.<\/li><li>linkTooltipHTML &#8211; The HTML formatted text of the link&#8217;s tooltip. Will not appear on exported images.<\/li><li>linkTooltipText &#8211; The formatted text of the link&#8217;s tooltip<\/li><li>linkTooltipPosition &#8211; Can be either &#8220;fixed&#8221; or &#8220;pointer&#8221;. Fixed sets the position, pointer keeps the tooltip under the mouse.<\/li><li>linkTooltipLocation &#8211; The position of the tooltip along the link from 0 to 1<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>There are a number of properties that can be added to any data point to override the default settings in the node or link template. nodeClickable &#8211; Whether the node onClick event will fire nodeDraggable &#8211; Whether the node can be dragged into a new position nodeHidden &#8211; Whether the node started disabled nodeOpacity &#8211;&#8230; <a href=\"https:\/\/modules.bijc.co.uk\/?page_id=210\">read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/modules.bijc.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/210"}],"collection":[{"href":"https:\/\/modules.bijc.co.uk\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/modules.bijc.co.uk\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/modules.bijc.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/modules.bijc.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=210"}],"version-history":[{"count":3,"href":"https:\/\/modules.bijc.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/210\/revisions"}],"predecessor-version":[{"id":220,"href":"https:\/\/modules.bijc.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/210\/revisions\/220"}],"wp:attachment":[{"href":"https:\/\/modules.bijc.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}