Attached is an image showing my two issues, including the questions I have. For more detail, keep reading.
For the tooltip, here is the code I use to generate it.
.Tooltip(tt => tt.Visible(
true
).Template(
"#= value.x # - #= value.y #"
))
.XField(
"Time"
)
.YField(
"Value"
);
The Time field is your standard C# DateTime. I combed through the documentation but I couldn't find a way to format that date tool tip to be a readable date and time rather than the Unix Time Stamp. Is there a way to do that?
For the top right chart, I'm just curious if there's a way to for the x-axis labels to always be displayed below the chart body? Here is the code used to generate the charts
@(Html.Kendo().Chart()
.Name(
string
.Format(
"server-side-chart-{0}-{1}"
, i + 1, ii + 1))
.Title(
string
.Format(
"Plot {0},{1}"
, i, ii))
.Series(s =>
{
s.ScatterLine(Model.DataGrid[i, ii].Data)
.Name(
"Data"
)
.Markers(
false
)
.VisibleInLegend(
false
)
.Tooltip(tt => tt.Visible(
true
).Template(
"#= value.x # - #= value.y #"
))
.XField(
"Time"
)
.YField(
"Value"
);
})
.XAxis(x => x.Date().BaseUnit(ChartAxisBaseUnit.Seconds))
)
Thanks.