cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

place a dot in the center of a ichart

Former Member
0 Likes
177

Good day everybody.

I have created a Ichart of type linear, the values on the X axis are dates according to a range, the problem is when the date range is the same date, 01-OCt-12 to 01-OCT-12, the graph shows the refilled value left, very attached to Y-axis. How can i do so that the point is centered on the area of the graph.

Best regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

jcgood25
Active Contributor
0 Likes

Under the assumption that even though your XAxis labels both show '01-Oct', that your data query includes time, so there is some range in the dates requested.

If you only have one datapoint being returned by your query, then it is impossible for the chart to draw a line (only one endpoint - it requires two to connect the dots, or as shown in your other image 4 data points with 3 lines connecting them).

In a time based line chart the marker points will always appear in the pixel position along the xaxis that corresponds to the timestamp position in the time range.  In the strange situation where a datapoint would have a timestamp earlier than the start date of the query, it would also appear at the 1st pixel leftmost edge of the chart because it will not plot outside the chart area.

So, if you return only a single day's data and only one record, then perhaps consider switching it to a bar chart, otherwise the point will not center (or draw a line like I previously mentioned).