Telerik RadChart autosize x-axis labels (non-numeric) - telerik

I have DataBind(ed) a RadChart, and the x-axis values are non-numeric (text). I have already added XAxis-Appearance-LabelAppearance-RotationAngle="45" to better display the x-axis labels. I am unable to find a way to make the space that contains the x-axis labels autosize. Is this possible?
example (the rotation works, the others were my unsuccessful attempts at autosizing the label area):
<telerik:RadChart ID="RadChart1" runat="server" Width="600px">
<PlotArea XAxis-Appearance=LabelAppearance-Dimensions-AutoSize="true"
XAxis-Appearance-LabelAppearance-RotationAngle="45"
Appearance-Dimensions-AutoSize="true"
</Plot Area>
</telerik:RadChart>
Thanks!

Related

Kendo Pie chart set color according to percentage value

I want to implement a pie chart in Kendo UI. The chart should display filled colors according to the percentage value. For example, the value 100% should fill the whole wedge, 50% should fill half of the wedge. Something like this:
Please help if anybody has any idea about it.

Q: Recharts hide every other label?

Hiyas, I'm wondering if it's possible to render every other xAxis label in recharts?
I have a design I'm working from that has vertical grid lines on either side of an xAxis label. So, I'm using <ReferenceLines> in place of a <CartesianGrid>, and that seems to work well. However, I haven't found a way to render only some of the xAxis labels.
I could mutate the date coming into the chart, but then I lose the data-points date value in the <Tooltip> hover. Which if possible I'd like to keep.
Here's effectively what I have:
And here's what I'm aiming for:
Ok, so I found a "way" by leveraging the tickFormatter attribute on <XAxis />. Albeit, the best approach would be for tickFormatter to return index like some of the other recharts components offer with format. However, for the time being I'm simply finding the index of a given xAxis label, from my dataset, and then checking if it's an even/odd number.
What you're looking for is the interval attribute. This controls whether to show all or some of your xAxis labels. By default it is set to preserveEnd which auto calculates how many ticks to show.
If you want to show all ticks, you must set interval=0
Docs https://recharts.org/en-US/api/XAxis#interval

Set fill color of center column in amCharts Step Count

I am trying to use amCharts and have an interface that looks alot like the step count chart here:
https://www.amcharts.com/demos/step-count-chart/
I want to be able to set the fill color of the column in the middle of the chart. Also when the chart is dragged the color of the columns should change so that it is always the column in the center that has the special color.
Is this possible?

How to Change Legend Type in Excel?

I have a line chart, where the chart legend also in forms of line. Is there a way I can change the legend type from colored line to colored circle or square?
Figure like this. http://www.nevron.com/gallery/FullGalleries/chartActiveX/stackline/images/StackLine1.png
I don't think you can use this method to get circles, but if you want to get squares, you can change the chart to a 3-D line chart, then right-click the chart area and select '3-D Rotation'. Change everything in the Rotation section of the menu to as close to 0 as you can get it. This will make your chart show up as a regular line chart while the legend shows little cubes. After you've done that, though, you'll probably have to change the axis settings. In my experience, 3D charts tend to show too many gridlines.

Extending chart functionality in SSRS

The default chart object in the SQL Server (2005) Business Intelligence Development Studio doesn't seem to some have formatting options like :
specifying the text direction of labels in the x and y axis
adding a trendline to a bar chart
arbitrarily resizing items in a chart - for example, if I resize the chart object, everything gets resized accordingly but I can't keep the size of the chart the same while extending the area of the legend for instance.
multiline chart labels
So what I want to know is
is there any easy answer to the formatting problems mentioned above?
what websites/books/resources/examples would you recommend I look
into for extending the functionality of the chart object?
Some colleagues of mine gave up on the stock control and bought Dundas charts
The stock charts are cut down versions of Dundas.
yes you can specify the text direction of labels in the x and y axis
Go to chart properties and in the tab x and y axis enter the chart title and in the title align use the combination like left/right/center align.
you can change the legend line go to the chart properties click legend tab inside this
there is an option for "display legend inside plot area" and you can include the trendline there
you can use multiline text labels when the text limits extends
I don't see how you can resize the legend, puting inside the plot area looks ugly for pie-chart
I'd recommend go with the dundas chart components gbn suggested.
If that's not possible at least this article should solve issue 1.

Resources