Current filter:
                                You should refresh the page.
                                Support Center
                                0
                                  • Hi -- I'm using the
                                    12.1 suite and am trying to set the arguments that appear on the x-axis of a
                                    web chart. The chart has three arguments -- 2010, 2011, and 2012 and
                                    three values corresponding to those arguments. However, there are
                                    numerous additional arguments that appear in the control (see screen cap).

                                     

                                    I checked the documentation (http://documentation.devexpress.com/#XtraCharts/CustomDocument6596)
                                    and -- as far as I can tell -- the series is properly declared and bound.
                                     But I get the intermediate labels and tickmarks.

                                     

                                    Here is the
                                    relevant mark-up for the control:

                                     

                                                 
                                          <dxchartsui:WebChartControl
                                    ID="WebChartYearly" runat="server"

                                                 
                                                         
                                                   
                                    ClientIDMode="AutoID"

                                                 
                                                         
                                                   
                                    DataSourceID="SDSYearly"

                                                 
                                                         
                                                   
                                    Height="400px"

                                                 
                                                         
                                                    PaletteName="Median"

                                                 
                                                         
                                                   
                                    Width="600px">

                                                 
                                              <diagramserializable>

                                                 
                                                  <cc1:XYDiagram>

                                                 
                                                      <axisx
                                    visibleinpanesserializable="-1">

                                                 
                                                         
                                    <range sidemarginsenabled="True" />

                                                 
                                                         
                                    <autoscalebreaks enabled="True" />

                                                 
                                                         
                                    <tickmarks minorvisible="False" length="3" />

                                                 
                                                          <AutoScaleBreaks
                                    Enabled="True"></AutoScaleBreaks>

                                     

                                                 
                                                         
                                    <Tickmarks MinorVisible="False"></Tickmarks>

                                                 
                                                         
                                    <Range SideMarginsEnabled="True"></Range>

                                                 
                                                      <numericoptions
                                    format="FixedPoint" precision="0" />

                                                 
                                                      </axisx>

                                                 
                                                      <axisy
                                    visibleinpanesserializable="-1">

                                                 
                                                         
                                    <range sidemarginsenabled="True" />

                                                 
                                                         
                                    <Range SideMarginsEnabled="True"></Range>

                                                 
                                                         
                                    <numericoptions format="Number" precision="0" />
                                                         
                                                

                                                 
                                                      </axisy>

                                                 
                                                      <defaultpane
                                    backcolor="128, 128, 128">

                                                 
                                                         
                                    <shadow visible="True" />

                                                 
                                                         
                                    <fillstyle fillmode="Gradient">

                                                 
                                                         
                                        <optionsserializable>

                                                 
                                                         
                                            <cc1:RectangleGradientFillOptions
                                    Color2="255, 255, 255" />

                                                 
                                                         
                                        </optionsserializable>

                                                 
                                                         
                                    </fillstyle>

                                                 
                                                         
                                    <Shadow Visible="True"></Shadow>

                                                 
                                                     
                                    </defaultpane>

                                                 
                                                  </cc1:XYDiagram>

                                                 
                                              </diagramserializable>

                                                 
                                                 
                                    <FillStyle><OptionsSerializable>

                                                 
                                             
                                    <cc1:SolidFillOptions></cc1:SolidFillOptions>

                                                 
                                              </OptionsSerializable>

                                                 
                                              </FillStyle>

                                                 
                                              <seriesserializable>

                                                 
                                                  <cc1:Series
                                    LegendText="Amount"

                                                 
                                                         
                                            Name="Amount"

                                                 
                                                         
                                            ArgumentDataMember="Year"

                                                 
                                                         
                                            ValueDataMembersSerializable="Amt"

                                                 
                                                         
                                            ArgumentScaleType="Numerical">

                                                 
                                                      <viewserializable>

                                                 
                                                         
                                    <cc1:LineSeriesView>

                                                 
                                                         
                                        <linestyle thickness="3" />

                                     

                                                 
                                                         
                                    </cc1:LineSeriesView>

                                                 
                                                     
                                    </viewserializable>

                                                 
                                                     
                                    <labelserializable>

                                                 
                                                         
                                    <cc1:PointSeriesLabel LineVisible="True">

                                                 
                                                         
                                        <shadow visible="True" />

                                                 
                                                         
                                        <fillstyle>

                                                 
                                                         
                                            <optionsserializable>

                                                 
                                                         
                                                <cc1:SolidFillOptions />

                                                 
                                                         
                                            </optionsserializable>

                                                 
                                                         
                                        </fillstyle>

                                                 
                                                         
                                        <PointOptionsSerializable>

                                                 
                                                         
                                            <cc1:PointOptions></cc1:PointOptions>

                                                 
                                                         
                                        </PointOptionsSerializable>

                                                 
                                                         
                                    </cc1:PointSeriesLabel>

                                                 
                                                     
                                    </labelserializable>

                                                 
                                                     
                                    <pointoptionsserializable>

                                                 
                                                         
                                    <cc1:PointOptions>

                                                 
                                                         
                                    </cc1:PointOptions>

                                                 
                                                     
                                    </pointoptionsserializable>

                                                 
                                                     
                                    <legendpointoptionsserializable>

                                                 
                                                         
                                    <cc1:PointOptions>

                                                 
                                                         
                                    </cc1:PointOptions>

                                                 
                                                      </legendpointoptionsserializable>

                                                 
                                                  </cc1:Series>

                                                 
                                              </seriesserializable>

                                                 
                                              <seriestemplate>

                                                 
                                                  <viewserializable>

                                                 
                                                     
                                    <cc1:LineSeriesView>

                                                 
                                                     
                                    </cc1:LineSeriesView>

                                                 
                                                  </viewserializable>

                                                 
                                                  <labelserializable>

                                                 
                                                     
                                    <cc1:PointSeriesLabel LineVisible="True">

                                                 
                                                         
                                    <fillstyle>

                                                 
                                                         
                                        <optionsserializable>

                                                 
                                                         
                                            <cc1:SolidFillOptions />

                                                 
                                                         
                                        </optionsserializable>

                                                 
                                                         
                                    </fillstyle>

                                                 
                                                 
                                    <PointOptionsSerializable>

                                                 
                                                     
                                    <cc1:PointOptions></cc1:PointOptions>

                                                 
                                                 
                                    </PointOptionsSerializable>

                                                 
                                                     
                                    </cc1:PointSeriesLabel>

                                                 
                                                  </labelserializable>

                                                 
                                                 
                                    <pointoptionsserializable>

                                                 
                                                     
                                    <cc1:PointOptions>

                                                 
                                                     
                                    </cc1:PointOptions>

                                                 
                                                 
                                    </pointoptionsserializable>

                                                 
                                                 
                                    <legendpointoptionsserializable>

                                                 
                                                     
                                    <cc1:PointOptions></cc1:PointOptions>

                                                 
                                                 
                                    </legendpointoptionsserializable>

                                                 
                                              </seriestemplate>

                                     

                                                 
                                              <CrosshairOptions>

                                                 
                                                 
                                    <CommonLabelPositionSerializable>

                                                 
                                                     
                                    <cc1:CrosshairMousePosition></cc1:CrosshairMousePosition>

                                                 
                                                 
                                    </CommonLabelPositionSerializable>

                                                 
                                              </CrosshairOptions>

                                     

                                                 
                                              <ToolTipOptions>

                                                 
                                                 
                                    <ToolTipPositionSerializable>

                                                 
                                                     
                                    <cc1:ToolTipMousePosition></cc1:ToolTipMousePosition>

                                                 
                                                 
                                    </ToolTipPositionSerializable>

                                                 
                                              </ToolTipOptions>

                                                 
                                          </dxchartsui:WebChartControl>

                                     

                                    Thx much.

                                You must  log in  or  register  to leave comments

                                1 Solution

                                1

                                Thank you for the additional clarification.
                                We have implemented an automatic data type detection functionality with the 2012 vol 1 version.
                                It looks like Chart considers your data as DateTime instead of Qualitative. Set the Series.ArgumentScaleType property to Qualitative to prevent this behavior.

                                • Eric Kirschner 09.12.2012

                                  That did the trick -- thx much.

                                • Thank you for informing us that the issue has been resolved. I am glad to hear that you have found our assistance helpful.
                                  P.S. Once your question has been resolved to your satisfaction, mark it as a Solution. Your question status will immediately become Closed.

                                • frank van den bergh 11.09.2012

                                  Hi Valdemar,
                                  I've a similar problem. My argument values are "12-11", "12-10", etcetera. The series ArgumentScaleType is Auto, but these values will be converted to datetime values by the chart. So I will see "2012-11-1". For now I will test the argument value is a string and if so force the ArgumentScaleType to be Qualitative.
                                  So please recheck your detection functionality (I'm using v1.8).

                                You must  log in  or  register  to leave comments

                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2014 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners