Jump to content


Divisional Lines & Grids


  • Please log in to reply
5 replies to this topic

#1 a_goodgirl

a_goodgirl

    Junior Member

  • Members
  • PipPip
  • 15 posts

Posted 22 February 2012 - 04:16 PM

Hello!
There are 2 chart type of Line:
first
<chart formatNumberScale="0" legendBorderAlpha="0" showPrintMenuItem="1" numberSuffix="%" 
divLineThickness="1" bgColor="ffffff" thousandSeparator=" " alternateHGridAlpha="20" 
canvasbgColor="ffffff" anchorAlpha="0" animation="0" alternateHGridColor="687e3c" 
aboutMenuItemLink="n-http://www.contourcomponents.ru" vDivlineDashGap="7" showShadow="0" 
showAlternateHGridColor="1" toolTipSepChar=": " formatNumber="1" showYAxisValues="1" 
forceDecimals="1" numVDivLines="7" divLineColor="c0504d" legendBgColor="ffffff" 
showLabels="1" legendScrollBgColor="ffffff" lineThickness="2" alternateVGridColor="337a85" 
xAxisName="Месяц" vDivlineColor="8064a2" divLineDashGap="10" divLineIsDashed="1" aboutMenuItemLabel="About Contour BI" 
legendPosition="RIGHT" vDivlineDashLen="11" alternateVGridAlpha="20" dashed="1" 
vDivlineThickness="1" legendScrollBtnColor="c3d3fd" canvasBorderThickness="1" 
divLineDashLen="14" caption="Площадь возгораний по месяцам" decimalSeparator="," 
yAxisName="Площадь регистрации, га" vDivLineisDashed="1" showBorder="0" showAboutMenuItem="1" 
legendScrollBarColor="c3d3fd" showValues="1" showAlternateVGridColor="1" bgAlpha="100" decimals="1">
<set displayValue="5710,0%" value="5710" link="n-#cell,0,0" label="Май"/>
<set displayValue="14789,0%" value="14789" link="n-#cell,1,0" label="Июнь"/>
<set displayValue="21126,0%" value="21126" link="n-#cell,2,0" label="Апрель"/>
</chart>
vgrid.jpg

second:
<chart formatNumberScale="0" legendBorderAlpha="0" showPrintMenuItem="1" numberSuffix="%" 
divLineThickness="1" bgColor="ffffff" thousandSeparator=" " alternateHGridAlpha="20" 
canvasbgColor="ffffff" anchorAlpha="0" animation="0" alternateHGridColor="687e3c" 
aboutMenuItemLink="n-http://www.contourcomponents.ru" vDivlineDashGap="7" showShadow="0" 
showAlternateHGridColor="1" toolTipSepChar=": " formatNumber="1" showYAxisValues="1" 
forceDecimals="1" divLineColor="c0504d" legendBgColor="ffffff" 
showLabels="1" legendScrollBgColor="ffffff" lineThickness="2" alternateVGridColor="337a85" 
xAxisName="Месяц" vDivlineColor="8064a2" divLineDashGap="10" divLineIsDashed="1" aboutMenuItemLabel="About Contour BI" 
legendPosition="RIGHT" vDivlineDashLen="11" alternateVGridAlpha="20" dashed="1" 
vDivlineThickness="1" legendScrollBtnColor="c3d3fd" canvasBorderThickness="1" 
divLineDashLen="14" caption="Площадь возгораний по месяцам" decimalSeparator="," 
yAxisName="Площадь регистрации, га" vDivLineisDashed="1" showBorder="0" showAboutMenuItem="1" 
legendScrollBarColor="c3d3fd" showValues="1" showAlternateVGridColor="1" bgAlpha="100" decimals="1">
<set displayValue="5710,0%" value="5710" link="n-#cell,0,0" label="Май"/>
<set displayValue="14789,0%" value="14789" link="n-#cell,1,0" label="Июнь"/>
<set displayValue="21126,0%" value="21126" link="n-#cell,2,0" label="Апрель"/>
</chart>

not_vgrid.jpg


They differ in that the first contains
numVDivLines="7"
, second is not.
The first chart shows the vertical lines but the second is not. Question: how to make a visible vertical lines, not setting the property numVDivLines ?
Thanks

#2 Sumedh

Sumedh

    Supreme Being

  • Administrators
  • 1945 posts
  • LocationBangalore

Posted 24 February 2012 - 09:29 AM

Greetings, Posted Image

If you want to display vertical lines on your chart, you can use "vLine" attribute between the set elements.

vLine attibute is used to display vertical lines that separates the block of data, thereby segregating data into different blocks.

Refer the following code:

<chart .... >
<vLine color='00CCDD' thickness='2' alpha='20'/>
<set label='Feb' value='910000' />
<vLine color='00CCDD' thickness='2' alpha='20'/>
</chart>

For more information, please read here: http://docs.fusionch...tSS/Line2D.html

Please find attached screenshot, for your reference.

Hope this helps. Posted Image

Attached Thumbnails

  • Capture.JPG

Thanks,
Sumedh

Follow us @Twitter!

#3 a_goodgirl

a_goodgirl

    Junior Member

  • Members
  • PipPip
  • 15 posts

Posted 24 February 2012 - 11:24 AM

Thanks, if you use
<vLine color='...' thickness='...' />
the vertical lines are visible. But do not see an vertical alternative color! Although showAlternateVGridColor=1 and alternateVGridColor is defined. But if the property "numVDivLines" is set alternative color is visible.

Question: how to make a visible vertical alternative color, not setting the property numVDivLines ?

<chart formatNumberScale="0" legendBorderAlpha="0" showPrintMenuItem="1" numberSuffix="%" 
divLineThickness="1" bgColor="ffffff" thousandSeparator=" " alternateHGridAlpha="20" 
canvasbgColor="ffffff" anchorAlpha="0" animation="0" alternateHGridColor="687e3c" 
aboutMenuItemLink="n-http://www.contourcomponents.ru" vDivlineDashGap="7" showShadow="0" 
showAlternateHGridColor="1" toolTipSepChar=": " formatNumber="1" showYAxisValues="1" 
forceDecimals="1" divLineColor="c0504d" legendBgColor="ffffff" showLabels="1" 
legendScrollBgColor="ffffff" lineThickness="2" alternateVGridColor="337a85" xAxisName="Месяц" 
vDivlineColor="8064a2" divLineDashGap="10" divLineIsDashed="1" aboutMenuItemLabel="About Contour BI" 
legendPosition="RIGHT" vDivlineDashLen="11" alternateVGridAlpha="20" dashed="1" vDivlineThickness="1" 
legendScrollBtnColor="c3d3fd" canvasBorderThickness="1" divLineDashLen="14" caption="Площадь возгораний по месяцам" 
decimalSeparator="," yAxisName="Площадь регистрации, га" vDivLineisDashed="1" showBorder="0" 
showAboutMenuItem="1" legendScrollBarColor="c3d3fd" showValues="1" showAlternateVGridColor="1" 
bgAlpha="100" decimals="1">
<vLine thickness="1" dashed="1" dashLen="11" dashGap="7" color="8064a2"/>
<set displayValue="5710,0%" value="5710" link="n-#cell,0,0" label="Май"/>
<vLine thickness="1" dashed="1" dashLen="11" dashGap="7" color="8064a2"/>
<set displayValue="14789,0%" value="14789" link="n-#cell,1,0" label="Июнь"/>
<vLine thickness="1" dashed="1" dashLen="11" dashGap="7" color="8064a2"/>
<set displayValue="21126,0%" value="21126" link="n-#cell,2,0" label="Апрель"/>
</chart>
vgrid2.jpg

#4 Swarnam

Swarnam

    Supreme Being

  • Moderators
  • 717 posts

Posted 27 February 2012 - 05:55 AM

Hey,:)

While using <vline> element, it is not possible to display the vertical alternative color like a vertical trend zone.:(

When numVDivLines attribute has been defined, alternateVGridColor appears as specified.

#5 a_goodgirl

a_goodgirl

    Junior Member

  • Members
  • PipPip
  • 15 posts

Posted 28 February 2012 - 02:40 PM

Thank you!

#6 Swarnam

Swarnam

    Supreme Being

  • Moderators
  • 717 posts

Posted 28 February 2012 - 05:00 PM

:)