This is a migrated thread and some comments may be shown as answers.

2 Charts , 1 Image ?

3 Answers 52 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Alex Witkowski
Top achievements
Rank 1
Alex Witkowski asked on 25 Sep 2009, 09:20 AM
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 

3 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 25 Sep 2009, 08:56 PM
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.
0
Alex Witkowski
Top achievements
Rank 1
answered on 28 Sep 2009, 08:02 AM
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
0
Giuseppe
Telerik team
answered on 30 Sep 2009, 08:46 AM
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.
Tags
Chart (Obsolete)
Asked by
Alex Witkowski
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Alex Witkowski
Top achievements
Rank 1
Giuseppe
Telerik team
Share this question
or