Hello,
I am trying to find out how to properly align a Gantt chart. There are two Series and each series only contains one actual point, but they should be in different segments (1 & 2). I can get this behavior to somewhat work by inserting a dummy item in each series, but even when trying to hide, set empty, and change the dummy item to 0px, it still holds the space even though it isn't there. Below, this is to the left of the first and to the right of the second. How can I achieve two series with one in each column where it doesn't have this empty yet allocated item space?
Here is the code I have that produces the above:
I am trying to find out how to properly align a Gantt chart. There are two Series and each series only contains one actual point, but they should be in different segments (1 & 2). I can get this behavior to somewhat work by inserting a dummy item in each series, but even when trying to hide, set empty, and change the dummy item to 0px, it still holds the space even though it isn't there. Below, this is to the left of the first and to the right of the second. How can I achieve two series with one in each column where it doesn't have this empty yet allocated item space?
Here is the code I have that produces the above:
<
telerik:RadChart
ID
=
"chartAnchorTip"
SkinsOverrideStyles
=
"true"
runat
=
"server"
Width
=
"225px"
Height
=
"200px"
AutoLayout
=
"true"
>
<
Appearance
Border-Visible
=
"false"
Dimensions-AutoSize
=
"true"
TextQuality
=
"ClearTypeGridFit"
/>
<
ChartTitle
Visible
=
"false"
/>
<
PlotArea
Appearance-FillStyle-MainColor
=
"White"
Appearance-FillStyle-FillType
=
"Solid"
>
<
XAxis
MaxValue
=
"6"
MinValue
=
"1"
Step
=
"1"
/>
<
YAxis
MaxValue
=
"60"
Step
=
"5"
AxisMode
=
"Extended"
Visible
=
"False"
/>
<
YAxis2
MaxValue
=
"5"
MinValue
=
"1"
Step
=
"1"
Visible
=
"False"
/>
</
PlotArea
>
<
Series
>
<
telerik:ChartSeries
Name
=
"Series 1"
Type
=
"gantt"
>
<
Appearance
LegendDisplayMode
=
"ItemLabels"
EmptyValue-Mode
=
"Zero"
>
<
FillStyle
MainColor
=
"Green"
>
</
FillStyle
>
</
Appearance
>
<
Items
>
<
telerik:ChartSeriesItem
Visible
=
"False"
Empty
=
"true"
Label-Appearance-Visible
=
"false"
Label-Appearance-Dimensions-Width
=
"0px"
Label-Appearance-Position-AlignedPosition
=
"None"
PointAppearance-Dimensions-Width
=
"0px"
/>
<
telerik:ChartSeriesItem
YValue
=
"20"
YValue2
=
"30"
Name
=
"Item 2"
/>
</
Items
>
</
telerik:ChartSeries
>
</
Series
>
<
Series
>
<
telerik:ChartSeries
Name
=
"Series 2"
Type
=
"gantt"
>
<
Appearance
LegendDisplayMode
=
"ItemLabels"
EmptyValue-Mode
=
"Zero"
>
<
FillStyle
MainColor
=
"Blue"
>
</
FillStyle
>
</
Appearance
>
<
Items
>
<
telerik:ChartSeriesItem
YValue
=
"30"
YValue2
=
"40"
Name
=
"Item 1"
/>
<
telerik:ChartSeriesItem
Visible
=
"False"
Empty
=
"true"
Label-Appearance-Visible
=
"false"
Label-Appearance-Dimensions-Width
=
"0px"
Label-Appearance-Position-AlignedPosition
=
"None"
PointAppearance-Dimensions-Width
=
"0px"
/>
</
Items
>
</
telerik:ChartSeries
>
</
Series
>
<
Legend
Visible
=
"false"
/>
</
telerik:RadChart
>