我使用 D3 DynamicDataDisplay 来满足我的图表需求,但是当我尝试为LineGraph
元素设置图例描述时,它给了我错误:
The TypeConverter for "Description" does not support converting from string
好的,但是如何设置呢?我试过了:
<d3:LineGraph DataSource="{Binding Path=AvgWaitingTimes}" Stroke="Blue"
Description="Some description"/>
它给出了我写的错误。我也试过这个:
<d3:LineGraph DataSource="{Binding Path=AvgConnectedTimes}" Stroke="Green">
<d3:ViewportElement2D.Description>
??
</d3:ViewportElement2D.Description>
</d3:LineGraph>
问题是我没有什么可以代替??
. 如何处理?图书馆真的很棒,但我坚持这个。