Visifire Chart related properties

Source: Internet
Author: User


<vc:chart x:name= "Hourlychart" theme= "Theme1" grid.row= "1" xmlns:vc= "clr-namespace:visifire.charts;assembly= Slvisifire.charts "margin=" 5 "animatedupdate=" true "indicatorenabled=" true "zoomingenabled=" true "zoomouttext=" return " showalltext= "Exit" >
Animatedupdate: Whether the animation is updated
Indicatorenabled: Whether to display the indicator (the first one)
Zoomingenabled: Whether it can be scaled, Zoomouttext: set to return the last Zoom action text, Showalltext: Set exit zoom text
scrollingenabled: Whether scroll bars are available
View3D: 3D Display
Lightingenabled: whether to highlight

B: Set Chart title title
<vc:Chart.Titles>
<vc:title fontsize= "text=" test title "padding=" 6 "/>
</vc:Chart.Titles>
C: Fixed set legend style and legend color (legend is usually automatically generated based on data)
<vc:chart.legends >
<vc:legend margin= "0,9,-52,0" height= "148" verticalalignment= "Top" horizontalalignment= "right" Width= ">"
<vc:Legend.Template>
<ControlTemplate>
<!-legend Style
</ControlTemplate>
</vc:Legend.Template>
</vc:Legend>
</vc:Chart.Legends>
DataSeries: Data Set
Renderas: Sets the chart Display type, (enumeration value) settings such as: Renderas = Renderas.spline
labelenabled if the text in the chart is displayed, the text display style labelstyle= "Inside" [Labelstyle=labelstyles.inside] indicates that the text is inline LabelText = "#YValue"//settings
Bevel whether the bevel shows
When Renderas is set to spline
Markertype can set the node style as the sixth in an instance

Datapoint data points
A:title text, valueformatstring:xvalue data format, Intervaltype interval (enumeration value), Interval interval value
<vc:Chart.AxesX>
<vc:axis title= "Month" valueformatstring= "d/mmm" intervaltype= "Months" interval= "1" >
<vc:Axis.Grids>
<vc:chartgrid interval= "0.2" interlacedcolor= "#0Ae66e6e"/>
</vc:Axis.Grids>
</vc:Axis>
</vc:Chart.AxesX>
Logarithmic:y axis Scale logarithmic enable, Logarithmbase: Logarithmic cardinality, prefix set y-axis text prefix
<vc:Chart.AxesY>
<vc:axis interval= "1" title= "Market Share" logarithmic= "True" logarithmbase= "5" linethickness= "0" >
<vc:Axis.Grids>
<vc:chartgrid interval= "0.2" interlacedcolor= "#0Ae66e6e"/>
</vc:Axis.Grids>
</vc:Axis>
</vc:Chart.AxesY>
See the third figure for a specific style
B: Data Formatting display

The value of the Xvalue is formatted:
Using xvalueformatstring formatted text in Dataseries, the display results control shows the text style of the value displayed after the mouse is placed tooltips, such as xvalueformatstring= "Hh:mm:ss"
The following code sets the control of the x-axis text display style as
<vc:Chart.AxesX>
<vc:axis intervaltype= "Hours" title= "Hours" valueformatstring= "hh:mm tt"/>
</vc:Chart.AxesX>

Visifire Chart related properties

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.