Team,
I have three queries on Silverlight TeeChart: Please find the attachement for your reference:Issues are numbered as 1,2,3
1. Need spme space between broder of reactangle and Text. Code is as follows:
SeriesList[iRow].Marks.Angle = 90;
SeriesList[iRow].Marks.Visible = true;
SeriesList[iRow].Marks.Style = Steema.TeeChart.Silverlight.Styles.MarksStyles.Label;
//SeriesList[iRow]..Marks.Font.Stretch. =new FontStretch()..Equals.
SeriesList[iRow].Marks.Font.Size = 7;
SeriesList[iRow].ShowInLegend = false;
SeriesList[iRow].Title = "AGM & CM";
2.I Want to increase the height of Panel inside TeeChart.
3. I want to Increase the height of TeeChart as well.
Will appreciate your help on above queries.
Regards
Hamendra
Silverlight Teechart - Panel hight, Teechart hight etc.
Silverlight Teechart - Panel hight, Teechart hight etc.
- Attachments
-
- Silverlight Teechart Image
- SilverlightTeeChart_Issue.JPG (66.09 KiB) Viewed 7015 times
Re: Silverlight Teechart - Panel hight, Teechart hight etc.
Hello 15661441,
If previous code doesn't help you, there is other option I suggest you is, use Annotation Tool you can find samples in the TeeChart.Net Demo, concretely: All Feauter\Welcome !\Tools\Annotation or in the Silverlight sample of Annotation.
Can you tell us if previous code works as you expect?
I hope will helps.
Thanks,
I suggest you change the size of font and use property of Marks.TextAlign as do in next code :1. Need spme space between broder of reactangle and Text. Code is as follows:
SeriesList[iRow].Marks.Angle = 90;
SeriesList[iRow].Marks.Visible = true;
SeriesList[iRow].Marks.Style = Steema.TeeChart.Silverlight.Styles.MarksStyles.Label;
//SeriesList[iRow]..Marks.Font.Stretch. =new FontStretch()..Equals.
SeriesList[iRow].Marks.font.Size = 7;
SeriesList[iRow].ShowInLegend = false;
SeriesList[iRow].Title = "AGM & CM";
Code: Select all
private Steema.TeeChart.Silverlight.Styles.Bar bar1;
private void InitializeChart()
{
bar1 = new Steema.TeeChart.Silverlight.Styles.Bar(tChart1.Chart);
bar1.Add(6.75, 2.4523);
bar1.Add(9.75, 2.4523);
tChart1.Axes.Left.SetMinMax(1, 15);
bar1.Marks.Angle = 90;
bar1.Marks.Style = Steema.TeeChart.Silverlight.Styles.
MarksStyles.XY;
bar1.Marks.TextAlign = TextAlignment.Center;
bar1.Marks.MultiLine =true;
bar1.Marks.Font.Size = 8;
}
I suggest you do something as next code:2.I Want to increase the height of Panel inside TeeChart.
3. I want to Increase the height of TeeChart as well.
Code: Select all
private void button1_Click(object sender, RoutedEventArgs e)
{
tChart1.Header.Text = "Grid Height: " + LayoutRoot.DesiredSize.Height.ToString() + " TChart1.Height:" + tChart1.Height.ToString();
LayoutRoot.Height = LayoutRoot.DesiredSize.Height + 150.0;
tChart1.Height = tChart1.Height + 100;
tChart1.SubHeader.Visible = true;
tChart1.SubHeader.Text = "Grid Height: " + LayoutRoot.Height.ToString() + " TChart1.Height:" + tChart1.Height.ToString();
}
I hope will helps.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Silverlight Teechart - Panel hight, Teechart hight etc.
Thanks Sandra,
for your valuable answers (2 & 3). It works for me.
But still I did not get solution of question 1. Change font size and TextAlignment did not help me as suggested by you.
Please sugeest some beter answer for quetion 1 .
Regards
Hamendra
for your valuable answers (2 & 3). It works for me.
But still I did not get solution of question 1. Change font size and TextAlignment did not help me as suggested by you.
Please sugeest some beter answer for quetion 1 .
Regards
Hamendra
Re: Silverlight Teechart - Panel hight, Teechart hight etc.
Hello Hamendra,
I am afraid that the only you can change the size of Marks, at the moment, is the font size. You have other option, use the Annotation tool as a Mark, as I suggested you in previous post. On the other hand, I have added your request in wish-list with number (TF02016087) to be consider its inclusion for next maintenance releases of TeeChartFor.Net.
If you have any problem, please let me know.
Thank,
I am afraid that the only you can change the size of Marks, at the moment, is the font size. You have other option, use the Annotation tool as a Mark, as I suggested you in previous post. On the other hand, I have added your request in wish-list with number (TF02016087) to be consider its inclusion for next maintenance releases of TeeChartFor.Net.
If you have any problem, please let me know.
Thank,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |