This question is locked. New answers and comments are not allowed.
Hello,
I would like to know how I can show a RadLegendView in a horizontal align mode, by default it's in vertical align.
In a second time, I would like to put one LegendTitle on the right and a second one on the left of the screen, because I use only two VerticalAxis, one on the right and one on the left, is it possible ?
My code:
for(....) {
LineSeries lineSeries = new LineSeries();
lineSeries.setLegendTitle("myText");
chartView.getSeries().add(lineSeries);
}
RadLegendView legendView = new RadLegendView(this);
legendView.setLegendProvider(this.chartView);
LinearLayout linearLayout = new LinearLayout(this);
linearLayout.setOrientation(LinearLayout.VERTICAL);
linearLayout.addView(legendView);
linearLayout.addView(chartView);
ViewGroup rootView = (ViewGroup)findViewById(R.id.chartContainer);
rootView.addView(linearLayout);
Thanks!
I would like to know how I can show a RadLegendView in a horizontal align mode, by default it's in vertical align.
In a second time, I would like to put one LegendTitle on the right and a second one on the left of the screen, because I use only two VerticalAxis, one on the right and one on the left, is it possible ?
My code:
for(....) {
LineSeries lineSeries = new LineSeries();
lineSeries.setLegendTitle("myText");
chartView.getSeries().add(lineSeries);
}
RadLegendView legendView = new RadLegendView(this);
legendView.setLegendProvider(this.chartView);
LinearLayout linearLayout = new LinearLayout(this);
linearLayout.setOrientation(LinearLayout.VERTICAL);
linearLayout.addView(legendView);
linearLayout.addView(chartView);
ViewGroup rootView = (ViewGroup)findViewById(R.id.chartContainer);
rootView.addView(linearLayout);
Thanks!