1 回答

TA貢獻1864條經(jīng)驗 獲得超6個贊
Xaml 代碼:-
<telerik:RadCartesianChart HorizontalAlignment="Left" VerticalAlignment="Top" Height="230" Width="437" x:Name="chart3" MouseUp="chart_MouseUp" Tag="{Binding
ElementName=chart3}">
<telerik:RadCartesianChart.Grid>
<telerik:CartesianChartGrid MajorLinesVisibility="Y" MajorXLineDashArray="10,5" MajorYLinesRenderMode="All">
</telerik:CartesianChartGrid>
</telerik:RadCartesianChart.Grid>
</telerik:RadCartesianChart>
c#(后端代碼)設(shè)置固定值:
chart1.VerticalAxis = new LinearAxis() { Maximum = 100, Minimum = 0 };
chart1.HorizontalAxis = new LinearAxis() { Maximum = 30, Minimum = 0 };
- 1 回答
- 0 關(guān)注
- 102 瀏覽
添加回答
舉報