Skip to content

Responsiveness html initialization, and height not set to the chart. #4

@m00ntasir

Description

@m00ntasir

I am trying to redraw chart. following way. After assigning new data. Chart is broken. Please help.

$scope.data.sections.graphs.byType.data = response.timePerSubject;   
 <nvd3-pie-chart
                data="data.sections.graphs.byType.data" 
                objectequality="true"                
                id="chartTimeSpentByType"
                showLabels="true"
                x="xFunction()"
                y="yFunction()"
                donut="true"
                responsive="true"
                donutRatio=".6"
                duration="1500"
                showLegend="false"
                donutLabelsOutside="true"
                color="colorFunction()"
                legendColor="colorFunction()"
                tooltips="false"
               >
            <svg height="400" width="100%" data-textLable="timeSpentByTypeText"></svg>
        </nvd3-pie-chart>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions