Sign in to follow this  
deepti

Scatter Chart Issue

Recommended Posts

Hi,

 

     Attached is a scatter chart I have generated.The line graph in the chart is becoming thick at some points than the given line thickness.Can someone please tell me what is the reason for this and how i can fix this.

 

Thanks,

Deepti,

post-9906-0-74758100-1365595943_thumb.png

Share this post


Link to post
Share on other sites

Hi Deepti,

 

Could you please send us the XML/JSON data used to generate the chart so that we can test it here?

 

Awaiting your response. :)

Share this post


Link to post
Share on other sites

Hi thanks for the response.Follpwing is my xml.

"<?xml version='1.0' encoding='UTF-8' standalone='yes'?><chart animation='1' showYAxisValues='1' yAxisMinValue='-5.407534E-4' yAxisMaxValue='2.8010592E-4' adjustDiv='0' caption='Fitted Line Plot: Op 190 Gage ipv*.Sta 190.1.Act 1 = -0.0001 + 0.04111 *  Op 120 ipv**.Sta 120.1.Act 1 ; R2 = 0.0044' xAxisName='Op 190 Gage ipv*.Sta 190.1.Act 1' yAxisName=' Op 120 ipv**.Sta 120.1.Act 1' bgColor='FFFFFF' canvasBgColor='F3F5F5' numDivLines='5' showZeroPlane='0' decimals='4' chartLeftMargin='0' chartRightMargin='50' chartTopMargin='10' chartBottomMargin='10'>    <categories>        <category x='-3.3151213E-4' label='-3.3151213E-4 '/>        <category x='4.7405358E-4' label='4.7405358E-4 '/>        <category x='7.1270726E-5' label='7.1270726E-5 '/>    </categories>    <dataset color='FF80C0' anchorBorderColor='1A6CF7' drawLine='0'>        <set x='-6.355376E-5' y='-8.0E-5' toolText='-0.000080'/>        <set x='-1.019045E-4' y='-1.3E-4' toolText='-0.00013'/>        <set x='1.2030742E-5' y='-1.5E-4' toolText='-0.00015'/>        <set x='-2.6640575E-4' y='-4.0E-4' toolText='-0.00040'/>        <set x='3.4831706E-4' y='-3.8E-4' toolText='-0.00038'/>        <set x='-3.3151213E-4' y='-1.3E-4' toolText='-0.00013'/>        <set x='1.610411E-4' y='1.8E-4' toolText='0.00018'/>        <set x='7.307172E-5' y='0.0' toolText='0.0'/>        <set x='-2.1707547E-4' y='-8.0E-5' toolText='-0.000080'/>        <set x='4.3118736E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='2.6549009E-5' y='-3.0E-5' toolText='-0.000030'/>        <set x='-1.7236255E-4' y='-1.6E-4' toolText='-0.00016'/>        <set x='1.7638411E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='2.2832191E-4' y='-6.0E-5' toolText='-0.000060'/>        <set x='3.6484678E-4' y='-2.0E-5' toolText='-0.000020'/>        <set x='8.328308E-5' y='-1.1E-4' toolText='-0.00011'/>        <set x='3.6741578E-5' y='-1.7E-4' toolText='-0.00017'/>        <set x='-9.964107E-5' y='-4.4E-4' toolText='-0.00044'/>        <set x='-1.4492068E-4' y='-4.0E-5' toolText='-0.000040'/>        <set x='-4.7056696E-5' y='3.0E-5' toolText='0.000030'/>        <set x='1.4153932E-4' y='-2.0E-4' toolText='-0.00020'/>        <set x='2.6403696E-4' y='-1.0E-5' toolText='-0.000010'/>        <set x='-1.7438884E-4' y='-8.0E-5' toolText='-0.000080'/>        <set x='9.316239E-5' y='-1.1E-4' toolText='-0.00011'/>        <set x='7.6052593E-6' y='-1.6E-4' toolText='-0.00016'/>        <set x='2.0666292E-5' y='-3.6E-4' toolText='-0.00036'/>        <set x='2.7418917E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='-9.871541E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='1.4583617E-4' y='-1.1E-4' toolText='-0.00011'/>        <set x='1.2914625E-4' y='-2.0E-4' toolText='-0.00020'/>        <set x='3.5459825E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='2.00628E-4' y='-1.1E-4' toolText='-0.00011'/>        <set x='5.0773717E-5' y='2.0E-5' toolText='0.000020'/>        <set x='1.6913207E-5' y='-1.6E-4' toolText='-0.00016'/>        <set x='4.7405358E-4' y='-7.0E-5' toolText='-0.000070'/>        <set x='4.6822257E-5' y='-4.0E-5' toolText='-0.000040'/>        <set x='-1.0663721E-4' y='-2.1E-4' toolText='-0.00021'/>        <set x='-5.7460966E-5' y='-6.0E-5' toolText='-0.000060'/>        <set x='9.216197E-5' y='-4.0E-5' toolText='-0.000040'/>        <set x='2.3264943E-4' y='-8.0E-5' toolText='-0.000080'/>        <set x='1.8531916E-4' y='0.0' toolText='0.0'/>        <set x='-2.9625206E-5' y='-1.6E-4' toolText='-0.00016'/>        <set x='4.5380733E-5' y='-1.0E-5' toolText='-0.000010'/>        <set x='-1.9943716E-4' y='-1.4E-4' toolText='-0.00014'/>        <set x='1.3181649E-4' y='9.0E-5' toolText='0.000090'/>        <set x='8.755443E-5' y='0.0' toolText='0.0'/>        <set x='2.2285192E-4' y='-1.8E-4' toolText='-0.00018'/>        <set x='4.8507063E-5' y='1.7E-4' toolText='0.00017'/>        <set x='9.913525E-5' y='-6.0E-5' toolText='-0.000060'/>        <set x='-1.0818788E-4' y='-1.5E-4' toolText='-0.00015'/>        <set x='1.8318887E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='-1.9267447E-5' y='-1.7E-4' toolText='-0.00017'/>        <set x='-1.4802969E-4' y='-3.1E-4' toolText='-0.00031'/>        <set x='7.934472E-6' y='-7.0E-5' toolText='-0.000070'/>        <set x='-1.0724722E-4' y='5.0E-5' toolText='0.000050'/>        <set x='-6.762288E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='-4.5910805E-5' y='-1.5E-4' toolText='-0.00015'/>        <set x='1.5032172E-4' y='-1.4E-4' toolText='-0.00014'/>        <set x='-1.4458864E-4' y='-1.3E-4' toolText='-0.00013'/>        <set x='3.0378776E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='1.6746787E-6' y='-6.0E-5' toolText='-0.000060'/>        <set x='-1.2779674E-4' y='-2.2E-4' toolText='-0.00022'/>        <set x='-5.048743E-5' y='-4.0E-5' toolText='-0.000040'/>        <set x='-1.2717929E-4' y='-2.0E-4' toolText='-0.00020'/>        <set x='1.976091E-4' y='-6.0E-5' toolText='-0.000060'/>        <set x='2.5012981E-4' y='-1.1E-4' toolText='-0.00011'/>        <set x='2.1415098E-4' y='-1.1E-4' toolText='-0.00011'/>        <set x='8.799704E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='5.904668E-5' y='3.0E-5' toolText='0.000030'/>        <set x='4.7008445E-5' y='0.0' toolText='0.0'/>        <set x='1.15958E-4' y='-2.1E-4' toolText='-0.00021'/>        <set x='9.97854E-5' y='-1.5E-4' toolText='-0.00015'/>        <set x='-1.2485815E-4' y='2.0E-5' toolText='0.000020'/>        <set x='-2.4294252E-4' y='0.0' toolText='0.0'/>        <set x='-2.0944719E-4' y='2.0E-5' toolText='0.000020'/>        <set x='1.7427772E-4' y='-1.0E-5' toolText='-0.000010'/>        <set x='-1.1900506E-4' y='1.0E-5' toolText='0.000010'/>        <set x='2.0725542E-4' y='-3.0E-4' toolText='-0.00030'/>        <set x='9.8029486E-5' y='-1.1E-4' toolText='-0.00011'/>        <set x='-4.3549055E-5' y='-4.0E-5' toolText='-0.000040'/>        <set x='1.4968475E-4' y='-1.1E-4' toolText='-0.00011'/>        <set x='1.8963912E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='-1.0034931E-4' y='-1.1E-4' toolText='-0.00011'/>        <set x='-9.34374E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='8.461093E-5' y='-1.1E-4' toolText='-0.00011'/>        <set x='-2.2135543E-4' y='1.2E-4' toolText='0.00012'/>        <set x='1.16469055E-4' y='-3.0E-5' toolText='-0.000030'/>        <set x='1.862993E-4' y='-7.0E-5' toolText='-0.000070'/>        <set x='1.5531828E-5' y='-3.0E-5' toolText='-0.000030'/>        <set x='-2.6905868E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='-2.2610591E-4' y='-1.3E-4' toolText='-0.00013'/>        <set x='-4.9176728E-5' y='-1.3E-4' toolText='-0.00013'/>        <set x='1.8378069E-4' y='-1.5E-4' toolText='-0.00015'/>        <set x='1.2182193E-4' y='4.0E-5' toolText='0.000040'/>        <set x='1.9915914E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='-1.3457402E-5' y='-1.5E-4' toolText='-0.00015'/>        <set x='-6.692189E-5' y='-2.0E-5' toolText='-0.000020'/>        <set x='2.6954513E-4' y='-7.0E-5' toolText='-0.000070'/>        <set x='3.2475236E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='8.579174E-5' y='-8.0E-5' toolText='-0.000080'/>    </dataset>    <dataset color='000000' anchorRadius='0' drawLine='1'>        <set x='-6.355376E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='-1.019045E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='1.2030742E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='-2.6640575E-4' y='-1.1E-4' toolText='-0.00011'/>        <set x='3.4831706E-4' y='-8.0E-5' toolText='-0.000080'/>        <set x='-3.3151213E-4' y='-1.1E-4' toolText='-0.00011'/>        <set x='1.610411E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='7.307172E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='-2.1707547E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='4.3118736E-4' y='-8.0E-5' toolText='-0.000080'/>        <set x='2.6549009E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='-1.7236255E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='1.7638411E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='2.2832191E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='3.6484678E-4' y='-8.0E-5' toolText='-0.000080'/>        <set x='8.328308E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='3.6741578E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='-9.964107E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='-1.4492068E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='-4.7056696E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='1.4153932E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='2.6403696E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='-1.7438884E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='9.316239E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='7.6052593E-6' y='-1.0E-4' toolText='-0.00010'/>        <set x='2.0666292E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='2.7418917E-4' y='-8.0E-5' toolText='-0.000080'/>        <set x='-9.871541E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='1.4583617E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='1.2914625E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='3.5459825E-4' y='-8.0E-5' toolText='-0.000080'/>        <set x='2.00628E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='5.0773717E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='1.6913207E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='4.7405358E-4' y='-8.0E-5' toolText='-0.000080'/>        <set x='4.6822257E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='-1.0663721E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='-5.7460966E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='9.216197E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='2.3264943E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='1.8531916E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='-2.9625206E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='4.5380733E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='-1.9943716E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='1.3181649E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='8.755443E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='2.2285192E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='4.8507063E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='9.913525E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='-1.0818788E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='1.8318887E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='-1.9267447E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='-1.4802969E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='7.934472E-6' y='-1.0E-4' toolText='-0.00010'/>        <set x='-1.0724722E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='-6.762288E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='-4.5910805E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='1.5032172E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='-1.4458864E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='3.0378776E-4' y='-8.0E-5' toolText='-0.000080'/>        <set x='1.6746787E-6' y='-1.0E-4' toolText='-0.00010'/>        <set x='-1.2779674E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='-5.048743E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='-1.2717929E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='1.976091E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='2.5012981E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='2.1415098E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='8.799704E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='5.904668E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='4.7008445E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='1.15958E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='9.97854E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='-1.2485815E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='-2.4294252E-4' y='-1.1E-4' toolText='-0.00011'/>        <set x='-2.0944719E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='1.7427772E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='-1.1900506E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='2.0725542E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='9.8029486E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='-4.3549055E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='1.4968475E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='1.8963912E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='-1.0034931E-4' y='-1.0E-4' toolText='-0.00010'/>        <set x='-9.34374E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='8.461093E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='-2.2135543E-4' y='-1.1E-4' toolText='-0.00011'/>        <set x='1.16469055E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='1.862993E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='1.5531828E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='-2.6905868E-4' y='-1.1E-4' toolText='-0.00011'/>        <set x='-2.2610591E-4' y='-1.1E-4' toolText='-0.00011'/>        <set x='-4.9176728E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='1.8378069E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='1.2182193E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='1.9915914E-4' y='-9.0E-5' toolText='-0.000090'/>        <set x='-1.3457402E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='-6.692189E-5' y='-1.0E-4' toolText='-0.00010'/>        <set x='2.6954513E-4' y='-8.0E-5' toolText='-0.000080'/>        <set x='3.2475236E-5' y='-9.0E-5' toolText='-0.000090'/>        <set x='8.579174E-5' y='-9.0E-5' toolText='-0.000090'/>    </dataset></chart>"

 

Thanks,

Deepti.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi Deepti,

 

Since, you are plotting data-points with very small value difference and you have opted drawLine as "1" for the close data-points.

 

This is why lines are appearing like this. To see the difference between lines and data-points, you would need to provide values with large difference.

 

Hope this helps!

Share this post


Link to post
Share on other sites

Hi,

 

Thanks for the reply.But can you please tell me whether it is required to create the xml in such a that the <set> tags y values are in ascending order?

 

Thanks,

Deepti.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi Deepti,

 

This is not mandatory to provide values in ascending order.

 

Since you have provided data with very small difference, depending on the "y" co-ordinate, you can provide the values for y in ascending order to get the desired result.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this