Hi all,
Here is my html code for nvd3 and now it is hardcoded margin in this html.
Is there any way that I can dynamically set the margin in the controller?

div class="workspace-coverage text-center">
  <div class="alert alert-info" ng-if="!coverageData">
    {{'NO_DATA_FOUND.TEXT' | translate}}
  </div>
  <div ng-if="coverageData">

    <nvd3-multi-bar-horizontal-chart
      data="coverageData"
      id="WorkspacePolicyCoverage"
      interactive="true"
      tooltips="true"
      tooltipcontent="getTooltip()"
      stacked="true"
      showXAxis="true"
      margin="getMargin()"
      xaxisaxislabeldistance="20"
      yAxisTickFormat="formatNumber()"
      xAxisTickFormat="formatName()"
      showLegend="true"
      showValues="true"
      nodata="No policy coverage data currently available"
      >
      <svg></svg>
    </nvd3-multi-bar-horizontal-chart>

  </div>
</div>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to