Skip to content

Instantly share code, notes, and snippets.

@AlexanderKozhevin
Created May 7, 2017 09:29
Show Gist options
  • Save AlexanderKozhevin/ccacff83dc2ba34b3df7947142f0bff9 to your computer and use it in GitHub Desktop.
Save AlexanderKozhevin/ccacff83dc2ba34b3df7947142f0bff9 to your computer and use it in GitHub Desktop.
{
type: 'Bar',
data: Chartdata['Bi-PolarBar'],
options: {
high: 10,
low: -10,
axisX: {
labelInterpolationFnc: function(value: number, index: number): number {
return index % 2 === 0 ? value : null;
}
}
}
}
<x-chartist
[data]="charts[5].data"
[type]="charts[5].type"
[options]="charts[5].options"
[responsiveOptions]="charts[5].respOpt"
[events]="charts[5].events">
</x-chartist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment