2 Charts , 1 Image ?

Thread is closed for posting
4 posts, 0 answers
  1. Alex Witkowski
    Alex Witkowski avatar
    5 posts
    Member since:
    Aug 2009

    Posted 25 Sep 2009 Link to this post

    Hi again,
    i have got three "little" questions.
    Here's a link to show the charts I'm talking about:
    http://s.finanznachrichten.de/temp/3Monate_230.htm
    So let's start:

     1st question
    As I said in topic I have 2 charts on this site one candlestick and one bar-graph. Now we need this 2 graphs shown as one picture (png/jpg). Is this possible and how can it be done?

    2nd question
    In the bar-graph, the y-axis2 has an custom format like.
    RadChart2.PlotArea.YAxis2.Appearance.CustomFormat = "0,, M"
     How come that the zero label is not shown ?

    3rd question
    Like in the post label-position candlestick-charts I now draw 2 lines as you see and try to mark the highest an lowest value of the candlestick chart. The x-position of the values is pretty good, but the AlignedPositions is not drawn as set in code.
    In shown Image was set :
    RadChart1.Series[1].Appearance.LabelAppearance.LabelLocation = Telerik.Charting.Styles.StyleSeriesItemLabel.ItemLabelLocation.Inside; 

    RadChart1.Series[1].Appearance.LabelAppearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.BottomRight; 
    and it makes no difference to 
    RadChart1.Series[1].Appearance.LabelAppearance.LabelLocation = Telerik.Charting.Styles.StyleSeriesItemLabel.ItemLabelLocation.Inside; 
    RadChart1.Series[1].Appearance.LabelAppearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.TopLeft; 


    Thanks for Support!

    Best regards
    Alexander Witkowski 

  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 25 Sep 2009 Link to this post

    I do have an immediate answer for #1, you can find this functionality allow with code-behind examples in this documentation article. It describes how to have multiple types of series types in one chart. The other two questions will need a little more playing around with.
  3. Alex Witkowski
    Alex Witkowski avatar
    5 posts
    Member since:
    Aug 2009

    Posted 28 Sep 2009 Link to this post

    I's sorry to say that the solution of #1 is not exactly what i want.
    I need two charts, like shown on the example page, but i want them two to be place in one *.png file.
    So it is necessary to have the bar-graph below the candlestick but  it should be only one image.

    I hope you can understand me..

    Thanks for support

    Best regards
    Alexander Witkowski
  4. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 30 Sep 2009 Link to this post

    Hi Alex Witkowski,

    Onto your questions:

    • Unfortunately this is not possible, as RadChart does not provide support for multple PlotAreas.
    • We are unable to reproduce the erroneous behavior in our local tests with the following test case:
    <telerik:RadChart ID="RadChart1" runat="server" AutoLayout="true"
        <Series> 
            <telerik:ChartSeries Type="Bar"
                <Items> 
                    <telerik:ChartSeriesItem YValue="21" /> 
                    <telerik:ChartSeriesItem YValue="51" /> 
                    <telerik:ChartSeriesItem YValue="31" /> 
                    <telerik:ChartSeriesItem YValue="11" /> 
                    <telerik:ChartSeriesItem YValue="31" /> 
                </Items> 
            </telerik:ChartSeries> 
            <telerik:ChartSeries Type="Bar" YAxisType="Secondary"
                <Items> 
                    <telerik:ChartSeriesItem YValue="12100000" /> 
                    <telerik:ChartSeriesItem YValue="5100000" /> 
                    <telerik:ChartSeriesItem YValue="3100000" /> 
                    <telerik:ChartSeriesItem YValue="1100000" /> 
                    <telerik:ChartSeriesItem YValue="3100000" /> 
                </Items> 
            </telerik:ChartSeries> 
        </Series> 
        <PlotArea> 
            <YAxis2 Appearance-CustomFormat="0,, M" /> 
        </PlotArea> 
    </telerik:RadChart> 

    • We have addressed your inquiry about the candlestick in the other forum thread you have opened on the topic.


    Regards,
    Manuel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top