xaml - WPF DVC Chart axis labeling -
i have created dvc:chart shown below in code, how add x-axis , y-axis labels chart?
<dvc:chart name="calllogs" background="steelblue" grid.columnspan="2"> <dvc:chart.series> <dvc:columnseries title="calls per hour" independentvaluebinding="{binding path=key}" dependentvaluebinding="{binding path=value}"> </dvc:columnseries> </dvc:chart.series> </dvc:chart>
thanks in advance
i have managed figure out:
<dvc:chart name="calllogs" background="steelblue" grid.columnspan="2"> <dvc:chart.axes> <dvc:linearaxis orientation="y" title="ammount of calls"/> <dvc:linearaxis orientation="x" title="time (hours)"/> </dvc:chart.axes> <dvc:chart.series> <dvc:columnseries title="calls per hour" independentvaluebinding="{binding path=key}" dependentvaluebinding="{binding path=value}"> </dvc:columnseries> </dvc:chart.series> </dvc:chart>
however, labeling x-axis me, don't know how customize it, post new solution when figure out.
Comments
Post a Comment