couple of problems

Thread is closed for posting
3 posts, 0 answers
  1. Conrad
    Conrad avatar
    11 posts
    Member since:
    May 2009

    Posted 05 Jun 2009 Link to this post


    So far I've implemented most of the controls without much hassle, except the chart control...

    Databinding overwrites pre-defined series
    If a series is created in the aspx and a datasourseid is specified, the series created in aspx will not show

    Find all x label values, but not series values
    It defines the x label values from the complete data set, however it only displays the data for the x labels found in the first series.  So if the datatable doesn't have values for each x-point then it doesn't show.  I've checked my sql query and flipped the order by (eg. year first, month first) and depending on the order by, some bars will show and some not.  Will now write some dodge sql to ensure data at each x-point.

    Formatting text x values (text color specifically)
    No idea where this is set and have been searching for an hour.

    Any ideas or suggestions would really be appreciated.

  2. Conrad
    Conrad avatar
    11 posts
    Member since:
    May 2009

    Posted 05 Jun 2009 Link to this post

    X-axis labels overwritten by databind

    When databind occurs these are "deleted" and created according to the datasource values.



    XAxis DataLabelsColumn="Month">






    <telerik:ChartAxisItem Value="1"></telerik:ChartAxisItem>



    <telerik:ChartAxisItem Value="2"></telerik:ChartAxisItem>



    <telerik:ChartAxisItem Value="3"></telerik:ChartAxisItem>



    <telerik:ChartAxisItem Value="4"></telerik:ChartAxisItem>



    <telerik:ChartAxisItem Value="5"></telerik:ChartAxisItem>



    <telerik:ChartAxisItem Value="6"></telerik:ChartAxisItem>



    <telerik:ChartAxisItem Value="7"></telerik:ChartAxisItem>



    <telerik:ChartAxisItem Value="8"></telerik:ChartAxisItem>



    <telerik:ChartAxisItem Value="9"></telerik:ChartAxisItem>



    <telerik:ChartAxisItem Value="10"></telerik:ChartAxisItem>



    <telerik:ChartAxisItem Value="11"></telerik:ChartAxisItem>



    <telerik:ChartAxisItem Value="12"></telerik:ChartAxisItem>









    <MajorGridLines Color="Gray" />








  3. Vladimir Milev
    Vladimir Milev avatar
    1061 posts

    Posted 11 Jun 2009 Link to this post

    Hi Conrad,

    We suggest you use the PrePaint event to edit your axis items text as a work-around. We apologize for the inconvenience this causes.

    All the best,
    Vladimir Milev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top