Skip to content

Corrupted data series (shifted data points) if x-axis label definition is not starting with 0 or ticks are not linear (e.g. 0, 1, 3) #1

@lenasrd

Description

@lenasrd

Please check the x-axis definition (non-linear ticks).

<viz:Chart width="100%" height="300px" zoomEnabled = "true" showTooltip="true" showLegend = "true">
	<viz:series>
		<viz:ChartSeries type="line" name="firstSeries" lineStyle = "dashed">
			<viz:data>
				<viz:ChartDataPoint value = "1" label = "value 1"/>
				<viz:ChartDataPoint value = "2" label = "value 2"/>
				<viz:ChartDataPoint value = "3" label = "value 3"/>
				<viz:ChartDataPoint value = "4" label = "value 4"/>
				<viz:ChartDataPoint value = "5" label = "value 5"/>
				<viz:ChartDataPoint value = "6" label = "value 6"/>
				<viz:ChartDataPoint value = "7" label = "value 7"/>
				<viz:ChartDataPoint value = "8" label = "value 8"/>
				<viz:ChartDataPoint value = "9" label = "value 9"/>
			</viz:data>
		</viz:ChartSeries>
	</viz:series>
	<viz:xAxis>
		<viz:ChartAxis
			title = "Lenas X-Axis"
            showTitle = "true"
            showGridLines = "false"
            visible = "true">
            <viz:labels>
            	<viz:ChartAxisLabel value = "0" title = "v1"/>
            	<viz:ChartAxisLabel value = "1" title = "v2"/>
            	<viz:ChartAxisLabel value = "3" title = "v3"/>
            </viz:labels>
   		</viz:ChartAxis>
	</viz:xAxis>
	<viz:yAxis>
		<viz:ChartAxis
			title = "Lenas Y-Axis"
            showTitle = "true"
            showGridLines = "true"
            visible = "true">
            <viz:labels>
            	<viz:ChartAxisLabel value = "0" title = "v1"/>
            	<viz:ChartAxisLabel value = "1" title = "v2"/>
            	<viz:ChartAxisLabel value = "10" title = "v3"/>
            </viz:labels>
   		</viz:ChartAxis>
	</viz:yAxis>
	</viz:Chart>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions